logging: Internal logger headers cleanup
Moved declarations and macros which are used in log_core from log_instance.h to log_core.h. Moved log level defines from log.h to log_instance.h because log.h is not recommended to be included in headers (contrary to log_instance.h). Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
86b5edc4d0
commit
927c1470da
3 changed files with 129 additions and 131 deletions
|
@ -21,13 +21,6 @@ extern "C" {
|
|||
* @{
|
||||
*/
|
||||
|
||||
|
||||
#define LOG_LEVEL_NONE 0
|
||||
#define LOG_LEVEL_ERR 1
|
||||
#define LOG_LEVEL_WRN 2
|
||||
#define LOG_LEVEL_INF 3
|
||||
#define LOG_LEVEL_DBG 4
|
||||
|
||||
/**
|
||||
* @brief Writes an ERROR level message to the log.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue