1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00
falk-werner_webfuse-provider/lib/webfuse_provider/impl/util/lws_log.c
2020-06-21 21:18:43 +02:00

19 lines
359 B
C

#include "webfuse_provider/impl/util/lws_log.h"
#include <stdbool.h>
#include <libwebsockets.h>
#define WFP_LWSLOG_DISABLE 0
static bool wfp_impl_lwslog_is_diabled = false;
void wfp_impl_lwslog_disable(void)
{
if (!wfp_impl_lwslog_is_diabled)
{
lws_set_log_level(WFP_LWSLOG_DISABLE, NULL);
wfp_impl_lwslog_is_diabled = true;
}
}