27 #ifndef EMBB_BASE_LOG_H_ 28 #define EMBB_BASE_LOG_H_ 30 #include <embb/base/c/log.h> 107 char const * channel,
108 char const * message,
122 char const * channel,
123 char const * message,
136 char const * channel,
137 char const * message,
150 char const * channel,
151 char const * message,
162 #endif // EMBB_BASE_LOG_H_ Definition: lock_free_mpmc_queue.h:40
static void Warning(char const *channel, char const *message,...)
Logs a message to the given channel with EMBB_LOG_LEVEL_WARNING.
void(* embb_log_function_t)(void *context, char const *message)
Logging function type.
Definition: log.h:65
Simple logging facilities.
Definition: log.h:46
static void Error(char const *channel, char const *message,...)
Logs a message to the given channel with EMBB_LOG_LEVEL_ERROR.
static void SetLogLevel(embb_log_level_t log_level)
Sets the global log level.
static void Trace(char const *channel, char const *message,...)
Logs a message to the given channel with EMBB_LOG_LEVEL_TRACE.
static void Write(char const *channel, embb_log_level_t log_level, char const *message,...)
Logs a message to the given channel with the specified log level.
static void SetLogFunction(void *context, embb_log_function_t func)
Sets the global logging function.
static void Info(char const *channel, char const *message,...)
Logs a message to the given channel with EMBB_LOG_LEVEL_INFO.
embb_log_level_t
Log levels available for filtering the log.
Definition: log.h:47