Files
C-Macro-Collections/documentation/utl/log.h/log_functions.md
T

1.7 KiB

Log Functions

cmc_log_trace

Defines a message with a Log Level of CMC_LOG_TRACE.

#define cmc_log_trace(fmt, ...)
  • fmt - A string that contains a text to be written that may contain format specifiers
  • ... - Optional. Values to be formatted into the string that will be printed

cmc_log_debug

Defines a message with a Log Level of CMC_LOG_DEBUG.

#define cmc_log_debug(fmt, ...)
  • fmt - A string that contains a text to be written that may contain format specifiers
  • ... - Optional. Values to be formatted into the string that will be printed

cmc_log_info

Defines a message with a Log Level of CMC_LOG_INFO.

#define cmc_log_info(fmt, ...)
  • fmt - A string that contains a text to be written that may contain format specifiers
  • ... - Optional. Values to be formatted into the string that will be printed

cmc_log_warn

Defines a message with a Log Level of CMC_LOG_WARN.

#define cmc_log_warn(fmt, ...)
  • fmt - A string that contains a text to be written that may contain format specifiers
  • ... - Optional. Values to be formatted into the string that will be printed

cmc_log_error

Defines a message with a Log Level of CMC_LOG_ERROR.

#define cmc_log_error(fmt, ...)
  • fmt - A string that contains a text to be written that may contain format specifiers
  • ... - Optional. Values to be formatted into the string that will be printed

cmc_log_fatal

Defines a message with a Log Level of CMC_LOG_FATAL.

#define cmc_log_fatal(fmt, ...)
  • fmt - A string that contains a text to be written that may contain format specifiers
  • ... - Optional. Values to be formatted into the string that will be printed