zephyr/include/logging
Marti Bolivar df8d4e96ef logging: fix multi-file module support
The documentation says a module can be split up over multiple files,
but there's no good way to do that. In the file with the
LOG_MODULE_REGISTER() call, the definitions of the module's state
variables serve as declarations that LOG_DBG(), etc. can use. But in
other files making up the module, no such declarations are available,
and the macro expansion bombs out spectacularly and confusingly.

Fix this by adding a LOG_MODULE_DECLARE() macro which other files in
the module can use to declare the internal state used by the log
module, so that LOG_DBG() etc. work properly.

Keep the documentation up to date.

Signed-off-by: Marti Bolivar <marti@foundries.io>
2018-08-02 19:18:05 +02:00
..
event_logger.h lib: move ring_buffer from misc/ to lib/ 2017-12-15 20:02:01 -05:00
kernel_event_logger.h subsys: kernel_event_logger: change kernel event values 2018-02-23 07:29:29 -05:00
log.h logging: fix multi-file module support 2018-08-02 19:18:05 +02:00
log_backend.h doc: subsys: logging: Add documentation for new logger 2018-07-06 19:18:19 -04:00
log_backend_uart.h logging: subsystem major redesign 2018-06-29 10:16:45 +02:00
log_core.h logging: Macro argument evaluated when enabled 2018-07-23 10:29:23 -04:00
log_ctrl.h doc: subsys: logging: internal thread and thread wake up 2018-07-16 11:12:16 -04:00
log_instance.h logging: Remove log.h including in headers limitation 2018-07-19 10:05:00 -04:00
log_msg.h logging: use BUILD_ASSERT_MSG instead of _Static_assert 2018-07-27 09:19:57 -04:00
log_output.h doc: subsys: logging: Add documentation for new logger 2018-07-06 19:18:19 -04:00
sys_log.h include: logging: clean up of sys_log.h 2018-02-09 10:11:52 -05:00