1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/core
Andy Green d9f793ae12 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-22 06:59:01 +01:00
..
alloc.c alloc.c: add license header 2020-04-13 16:16:26 +01:00
buflist.c windows: clean type warnings 2020-01-11 14:04:50 +00:00
context.c logs: allow giving log bitfields from cmake to force build or exclusion 2020-04-22 06:59:01 +01:00
libwebsockets.c lws_spawn: windows 2020-04-13 19:29:09 +01:00
logs.c lws_spawn: windows 2020-04-13 19:29:09 +01: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-22 06:59:01 +01:00
private-lib-core.h ctest: fixes-and-changes 2020-04-19 08:43:01 +01:00
vfs.c cleaning 2020-01-05 22:17:58 +00:00