1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lib/core
Andy Green 4e68e3b4bc logs: allow giving log bitfields from cmake to force build or exclusion
By default this doesn't change any existing logging behaviour at all.

But it allows you to define cmake options to force or force-disable the
build of individual log levels using new cmake option bitfields
LWS_LOGGING_BITFIELD_SET and LWS_LOGGING_BITFIELD_CLEAR.

Eg, -DLWS_LOGGING_BITFIELD_SET="(LLL_INFO)" can force INFO log level
built even in release mode.  -DLWS_LOGGING_BITFIELD_CLEAR="(LLL_NOTICE)"
will likewise remove NOTICE logging from the build regardless of
DEBUG or RELEASE mode.
2020-04-23 06:36:54 +01:00
..
alloc.c alloc.c: add license header 2020-04-13 16:17:30 +01:00
buflist.c windows: clean type warnings 2020-01-11 14:04:50 +00:00
context.c lws_spa: avoid reading past table 2020-03-14 07:55:58 +00:00
libwebsockets.c lws_struct sqlite3 2020-03-04 11:00:04 +00:00
logs.c logs: don't print junk if no timestamp 2020-03-06 07:55:05 +00:00
lws_dll.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
lws_dll2.c logs: allow giving log bitfields from cmake to force build or exclusion 2020-04-23 06:36:54 +01:00
private-lib-core.h glib: remove unused watcher to align with master 2020-04-12 14:59:25 +01:00
vfs.c cleaning 2020-01-05 22:17:58 +00:00