mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
19 lines
344 B
C
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;
|
|
}
|
|
}
|
|
|
|
|