1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00
falk-werner_webfuse/lib/webfuse/impl/util/lws_log.c
2020-06-28 19:43:08 +02:00

19 lines
344 B
C

#include "webfuse/impl/util/lws_log.h"
#include <stdbool.h>
#include <libwebsockets.h>
#define WF_LWSLOG_DISABLE 0
static bool wf_impl_lwslog_is_diabled = false;
void wf_impl_lwslog_disable(void)
{
if (!wf_impl_lwslog_is_diabled)
{
lws_set_log_level(WF_LWSLOG_DISABLE, NULL);
wf_impl_lwslog_is_diabled = true;
}
}