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
359 B
19 lines
359 B
4 years ago
|
#include "webfuse_provider/impl/util/lws_log.h"
|
||
5 years ago
|
#include <stdbool.h>
|
||
|
#include <libwebsockets.h>
|
||
|
|
||
4 years ago
|
#define WFP_LWSLOG_DISABLE 0
|
||
5 years ago
|
|
||
4 years ago
|
static bool wfp_impl_lwslog_is_diabled = false;
|
||
5 years ago
|
|
||
4 years ago
|
void wfp_impl_lwslog_disable(void)
|
||
5 years ago
|
{
|
||
4 years ago
|
if (!wfp_impl_lwslog_is_diabled)
|
||
5 years ago
|
{
|
||
4 years ago
|
lws_set_log_level(WFP_LWSLOG_DISABLE, NULL);
|
||
4 years ago
|
wfp_impl_lwslog_is_diabled = true;
|
||
5 years ago
|
}
|
||
|
}
|
||
|
|
||
|
|