Home
last modified time | relevance | path

Searched refs:log_cx (Results 1 – 16 of 16) sorted by relevance

/third_party/libwebsockets/lib/core/
Dlogs.c35 lws_log_cx_t log_cx = { variable
124 lwsl_refcount_cx(lc->log_cx, 1); in __lws_lc_tag()
193 lwsl_refcount_cx(lc->log_cx, -1); in __lws_lc_untag()
378 cx = &log_cx; in __lws_logv()
461 __lws_logv(&log_cx, NULL, NULL, filter, NULL, format, vl); in _lws_logv()
469 __lws_logv(&log_cx, NULL, NULL, filter, NULL, format, ap); in _lws_log()
479 cx = &log_cx; in _lws_log_cx()
490 log_cx.lll_flags = (uint32_t)(flags & (~LLLF_LOG_CONTEXT_AWARE)); in lws_set_log_level()
493 log_cx.u.emit = func; in lws_set_log_level()
498 return !!(log_cx.lll_flags & (uint32_t)level); in lwsl_visible()
[all …]
Dcontext.c644 if (info->log_cx) in lws_create_context()
645 context->log_cx = info->log_cx; in lws_create_context()
647 context->log_cx = &log_cx; in lws_create_context()
648 lwsl_refcount_cx(context->log_cx, 1); in lws_create_context()
1537 lwsl_refcount_cx(context->log_cx, -1); in lws_create_context()
2213 lwsl_refcount_cx(context->log_cx, -1); in lws_context_destroy()
2265 return cx->log_cx; in lwsl_context_get_cx()
Dprivate-lib-core.h198 lws_log_cx_t *log_cx; member
214 extern lws_log_cx_t log_cx;
606 lws_log_cx_t *log_cx; member
/third_party/libwebsockets/include/libwebsockets/
Dlws-client.h232 lws_log_cx_t *log_cx; member
Dlws-context-vhost.h897 lws_log_cx_t *log_cx; member
/third_party/libwebsockets/lib/core-net/
Dvhost.c607 if (info->log_cx) in lws_create_vhost()
608 vh->lc.log_cx = info->log_cx; in lws_create_vhost()
610 vh->lc.log_cx = &log_cx; in lws_create_vhost()
1931 return vh->lc.log_cx;
Dwsi.c312 wsi->lc.log_cx = log_cx_template; in __lws_wsi_create_with_role()
314 wsi->lc.log_cx = context->log_cx; in __lws_wsi_create_with_role()
1024 return wsi->lc.log_cx; in lwsl_wsi_get_cx()
Dadopt.c63 vhost->lc.log_cx); in lws_create_new_server_wsi()
Dprivate-lib-core-net.h707 lws_log_cx_t *log_cx; member
/third_party/libwebsockets/READMEs/
DREADME.logging.md158 At lws_context creation time, you can set the context info `.log_cx` to a user
161 a user log_cx to customize how logs for that object are handled.
249 To bind the lws_context to this log context, set `log_cx` in the context
253 info.log_cx = &my_log_cx;
/third_party/libwebsockets/lib/secure-streams/
Dsecure-streams-client.c639 h->lc.log_cx = context->log_cx; in lws_sspc_create()
Dsecure-streams.c1043 h->lc.log_cx = context->log_cx; in lws_ss_create()
1806 return ss->lc.log_cx; in lwsl_ss_get_cx()
Dsecure-streams-serialize.c117 return sspc->lc.log_cx; in lwsl_sspc_get_cx()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-stress/
Dminimal-secure-streams.c595 info.log_cx = &my_log_cx; in main()
/third_party/libwebsockets/lib/core-net/client/
Dconnect.c161 wsi = __lws_wsi_create_with_role(i->context, tsi, NULL, i->log_cx); in lws_client_connect_via_info()
/third_party/libwebsockets/lib/roles/dbus/
Ddbus.c76 ctx->vh->lc.log_cx); in __lws_shadow_wsi()