doc: subsys: logging: Add documentation for new logger

Documentation for new logger subsystem.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2018-06-29 14:20:45 +02:00 committed by Anas Nashif
commit 5ea5b8d35f
9 changed files with 496 additions and 4 deletions

View file

@ -14,6 +14,14 @@
extern "C" {
#endif
/**
* @brief Logger API
* @defgroup log_api Logging API
* @ingroup logger
* @{
*/
#define LOG_LEVEL_NONE 0
#define LOG_LEVEL_ERR 1
#define LOG_LEVEL_WRN 2
@ -275,6 +283,11 @@ int log_printk(const char *fmt, va_list ap);
#define LOG_MODULE_REGISTER() /* Empty */
#endif
/**
* @}
*/
#ifdef __cplusplus
}
#endif