Define ANJ_LOG_ALT_IMPL_HEADER
Defined in File anj_config.h
Define Documentation
-
ANJ_LOG_ALT_IMPL_HEADER
Enable logger in alternative mode. This should be defined to path to header file that specifes an alternative implementation of
ANJ_LOG_HANDLER_IMPL_MACROwith arguments:Module: module name, in the same form as in anj_log() calls (stringifiable identifier).
Level: identifier, one of:
L_TRACE,L_DEBUG,L_INFO,L_WARNING,L_ERROR,L_MUTE.L_MUTEmust not generate a message.format string as in
printf()function and arguments
This header file is included by by anj/log.h. This is useful to completely replace log calls with a custom definition, e.g. to emit log calls compatible with other logging libraries, such as the built-in system in Zephyr.