You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
319 B
19 lines
319 B
#include "webfuse/core/lws_log.h"
|
|
#include <stdbool.h>
|
|
#include <libwebsockets.h>
|
|
|
|
#define WF_LWSLOG_DISABLE 0
|
|
|
|
static bool wf_lwslog_is_diabled = false;
|
|
|
|
void wf_lwslog_disable(void)
|
|
{
|
|
if (!wf_lwslog_is_diabled)
|
|
{
|
|
lws_set_log_level(WF_LWSLOG_DISABLE, NULL);
|
|
wf_lwslog_is_diabled = true;
|
|
}
|
|
}
|
|
|
|
|