include: logging: clean up of sys_log.h
Remove unused macro IS_SYS_LOG_ACTIVE. Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
This commit is contained in:
parent
5f1b366713
commit
cf2fb622e3
1 changed files with 0 additions and 11 deletions
|
@ -37,8 +37,6 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#if defined(CONFIG_SYS_LOG) && (SYS_LOG_LEVEL > SYS_LOG_LEVEL_OFF)
|
#if defined(CONFIG_SYS_LOG) && (SYS_LOG_LEVEL > SYS_LOG_LEVEL_OFF)
|
||||||
|
|
||||||
#define IS_SYS_LOG_ACTIVE 1
|
|
||||||
|
|
||||||
extern void (*syslog_hook)(const char *fmt, ...);
|
extern void (*syslog_hook)(const char *fmt, ...);
|
||||||
void syslog_hook_install(void (*hook)(const char *, ...));
|
void syslog_hook_install(void (*hook)(const char *, ...));
|
||||||
|
|
||||||
|
@ -123,15 +121,6 @@ void syslog_hook_install(void (*hook)(const char *, ...));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
/**
|
|
||||||
* @def IS_SYS_LOG_ACTIVE
|
|
||||||
*
|
|
||||||
* @brief Specifies whether SYS_LOG is in use or not.
|
|
||||||
*
|
|
||||||
* @details This macro expands to 1 if SYS_LOG was activated for current .c
|
|
||||||
* file, 0 otherwise.
|
|
||||||
*/
|
|
||||||
#define IS_SYS_LOG_ACTIVE 0
|
|
||||||
/**
|
/**
|
||||||
* @def SYS_LOG_ERR
|
* @def SYS_LOG_ERR
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue