![]() |
LogIt++
|
Provides various logging macros for different log levels and options. More...
Go to the source code of this file.
Macros | |
#define | _LOGIT_LOG_MACROS_HPP_INCLUDED |
#define | LOGIT_LOG_AND_RETURN_NOARGS(level, format) |
Logs a message without arguments. | |
#define | LOGIT_LOG_AND_RETURN_NOARGS_WITH_INDEX(level, index, format) |
Logs a message to a specific logger without arguments. | |
#define | LOGIT_LOG_AND_RETURN(level, format, arg_names, ...) |
Logs a message with arguments. | |
#define | LOGIT_LOG_AND_RETURN_PRINT(level, arg_names, ...) |
Logs a message with arguments, but prints them without using a format string. | |
#define | LOGIT_LOG_AND_RETURN_WITH_INDEX(level, index, format, arg_names, ...) |
Logs a message with arguments to a specific logger. | |
#define | LOGIT_LOG_AND_RETURN_PRINT_WITH_INDEX(level, index, arg_names, ...) |
Logs a message with arguments to a specific logger, but prints them without using a format string. | |
#define | LOGIT_TRACE(...) |
#define | LOGIT_TRACE0() |
#define | LOGIT_0TRACE() |
#define | LOGIT_0_TRACE() |
#define | LOGIT_NOARGS_TRACE() |
#define | LOGIT_FORMAT_TRACE(fmt, ...) |
#define | LOGIT_PRINT_TRACE(...) |
#define | LOGIT_PRINTF_TRACE(fmt, ...) |
#define | LOGIT_TRACE_TO(index, ...) |
#define | LOGIT_TRACE0_TO(index) |
#define | LOGIT_0TRACE_TO(index) |
#define | LOGIT_0_TRACE_TO(index) |
#define | LOGIT_NOARGS_TRACE_TO(index) |
#define | LOGIT_FORMAT_TRACE_TO(index, fmt, ...) |
#define | LOGIT_PRINT_TRACE_TO(index, ...) |
#define | LOGIT_PRINTF_TRACE_TO(index, fmt, ...) |
#define | LOGIT_INFO(...) |
#define | LOGIT_INFO0() |
#define | LOGIT_0INFO() |
#define | LOGIT_0_INFO() |
#define | LOGIT_NOARGS_INFO() |
#define | LOGIT_FORMAT_INFO(fmt, ...) |
#define | LOGIT_PRINT_INFO(...) |
#define | LOGIT_PRINTF_INFO(fmt, ...) |
#define | LOGIT_INFO_TO(index, ...) |
#define | LOGIT_INFO0_TO(index) |
#define | LOGIT_0INFO_TO(index) |
#define | LOGIT_0_INFO_TO(index) |
#define | LOGIT_NOARGS_INFO_TO(index) |
#define | LOGIT_FORMAT_INFO_TO(index, fmt, ...) |
#define | LOGIT_PRINT_INFO_TO(index, ...) |
#define | LOGIT_PRINTF_INFO_TO(index, fmt, ...) |
#define | LOGIT_DEBUG(...) |
#define | LOGIT_DEBUG0() |
#define | LOGIT_0DEBUG() |
#define | LOGIT_0_DEBUG() |
#define | LOGIT_NOARGS_DEBUG() |
#define | LOGIT_FORMAT_DEBUG(fmt, ...) |
#define | LOGIT_PRINT_DEBUG(...) |
#define | LOGIT_PRINTF_DEBUG(fmt, ...) |
#define | LOGIT_DEBUG_TO(index, ...) |
#define | LOGIT_DEBUG0_TO(index) |
#define | LOGIT_0DEBUG_TO(index) |
#define | LOGIT_0_DEBUG_TO(index) |
#define | LOGIT_NOARGS_DEBUG_TO(index) |
#define | LOGIT_FORMAT_DEBUG_TO(index, fmt, ...) |
#define | LOGIT_PRINT_DEBUG_TO(index, ...) |
#define | LOGIT_PRINTF_DEBUG_TO(index, fmt, ...) |
#define | LOGIT_WARN(...) |
#define | LOGIT_WARN0() |
#define | LOGIT_0WARN() |
#define | LOGIT_0_WARN() |
#define | LOGIT_NOARGS_WARN() |
#define | LOGIT_FORMAT_WARN(fmt, ...) |
#define | LOGIT_PRINT_WARN(...) |
#define | LOGIT_PRINTF_WARN(fmt, ...) |
#define | LOGIT_WARN_TO(index, ...) |
#define | LOGIT_WARN0_TO(index) |
#define | LOGIT_0WARN_TO(index) |
#define | LOGIT_0_WARN_TO(index) |
#define | LOGIT_NOARGS_WARN_TO(index) |
#define | LOGIT_FORMAT_WARN_TO(index, fmt, ...) |
#define | LOGIT_PRINT_WARN_TO(index, ...) |
#define | LOGIT_PRINTF_WARN_TO(index, fmt, ...) |
#define | LOGIT_ERROR(...) |
#define | LOGIT_ERROR0() |
#define | LOGIT_0ERROR() |
#define | LOGIT_0_ERROR() |
#define | LOGIT_NOARGS_ERROR() |
#define | LOGIT_FORMAT_ERROR(fmt, ...) |
#define | LOGIT_PRINT_ERROR(...) |
#define | LOGIT_PRINTF_ERROR(fmt, ...) |
#define | LOGIT_ERROR_TO(index, ...) |
#define | LOGIT_ERROR0_TO(index) |
#define | LOGIT_0ERROR_TO(index) |
#define | LOGIT_0_ERROR_TO(index) |
#define | LOGIT_NOARGS_ERROR_TO(index) |
#define | LOGIT_FORMAT_ERROR_TO(index, fmt, ...) |
#define | LOGIT_PRINT_ERROR_TO(index, ...) |
#define | LOGIT_PRINTF_ERROR_TO(index, fmt, ...) |
#define | LOGIT_FATAL(...) |
#define | LOGIT_FATAL0() |
#define | LOGIT_0FATAL() |
#define | LOGIT_0_FATAL() |
#define | LOGIT_NOARGS_FATAL() |
#define | LOGIT_FORMAT_FATAL(fmt, ...) |
#define | LOGIT_PRINT_FATAL(...) |
#define | LOGIT_PRINTF_FATAL(fmt, ...) |
#define | LOGIT_FATAL_TO(index, ...) |
#define | LOGIT_FATAL0_TO(index) |
#define | LOGIT_0FATAL_TO(index) |
#define | LOGIT_0_FATAL_TO(index) |
#define | LOGIT_NOARGS_FATAL_TO(index) |
#define | LOGIT_FORMAT_FATAL_TO(index, fmt, ...) |
#define | LOGIT_PRINT_FATAL_TO(index, ...) |
#define | LOGIT_PRINTF_FATAL_TO(index, fmt, ...) |
#define | LOGIT_ADD_LOGGER(logger_type, logger_args, formatter_type, formatter_args) |
Macro for adding a logger with a specific formatter. | |
#define | LOGIT_ADD_LOGGER_SINGLE_MODE(logger_type, logger_args, formatter_type, formatter_args) |
Macro for adding a logger with a specific formatter in single_mode. | |
#define | LOGIT_ADD_CONSOLE(pattern, async) |
Macro for adding a console logger with a specific pattern and mode. | |
#define | LOGIT_ADD_CONSOLE_SINGLE_MODE(pattern, async) |
Macro for adding a console logger in single_mode with a specific pattern and mode. | |
#define | LOGIT_ADD_CONSOLE_DEFAULT() |
Macro for adding the default console logger. | |
#define | LOGIT_ADD_CONSOLE_DEFAULT_SINGLE_MODE() |
Macro for adding the default console logger in single_mode. | |
#define | LOGIT_ADD_FILE_LOGGER(directory, async, auto_delete_days, pattern) |
Macro for adding a file logger with specific settings. | |
#define | LOGIT_ADD_FILE_LOGGER_SINGLE_MODE(directory, async, auto_delete_days, pattern) |
Macro for adding a file logger in single_mode with specific settings. | |
#define | LOGIT_ADD_FILE_LOGGER_DEFAULT() |
Macro for adding the default file logger. | |
#define | LOGIT_ADD_FILE_LOGGER_DEFAULT_SINGLE_MODE() |
Macro for adding the default file logger in single_mode. | |
#define | LOGIT_ADD_FILE_LOGGER_WITH_ROTATION(dir, async, days, pattern, max_bytes, max_files) |
#define | LOGIT_ADD_FILE_LOGGER_WITH_ROTATION_SINGLE_MODE(dir, async, days, pattern, max_bytes, max_files) |
#define | LOGIT_ADD_FILE_LOGGER_DEFAULT_WITH_ROTATION() |
#define | LOGIT_ADD_UNIQUE_FILE_LOGGER(directory, async, auto_delete_days, hash_length, pattern) |
Macro for adding a unique file logger with custom parameters. | |
#define | LOGIT_ADD_UNIQUE_FILE_LOGGER_SINGLE_MODE(directory, async, auto_delete_days, hash_length, pattern) |
Macro for adding a unique file logger in single_mode with custom parameters. | |
#define | LOGIT_ADD_UNIQUE_FILE_LOGGER_DEFAULT() |
Macro for adding the default unique file logger. | |
#define | LOGIT_ADD_UNIQUE_FILE_LOGGER_DEFAULT_SINGLE_MODE() |
Macro for adding the default unique file logger in single_mode. | |
#define | LOGIT_WAIT() |
Macro for waiting for all asynchronous loggers to finish processing. | |
#define | LOGIT_SHUTDOWN() |
Macro for shutting down logger system. | |
#define | LOGIT_FUNCTION __func__ |
#define | LOGIT_ENUM_TO_STR_CASE(value) |
Expands to a case statement returning the stringified enum value. | |
#define | LOGIT_LEVEL_TRACE 0 |
#define | LOGIT_LEVEL_DEBUG 1 |
#define | LOGIT_LEVEL_INFO 2 |
#define | LOGIT_LEVEL_WARN 3 |
#define | LOGIT_LEVEL_ERROR 4 |
#define | LOGIT_LEVEL_FATAL 5 |
#define | LOGIT_COMPILED_LEVEL LOGIT_LEVEL_TRACE |
Stream-Based Logging | |
Macros for logging using a stream-like syntax. | |
#define | LOGIT_STREAM(level) |
Begin a log stream for the specified log level. | |
#define | LOGIT_STREAM_WITH_INDEX(level, index) |
Begin a log stream for the specified log level, targeting a specific logger. | |
#define | LOGIT_STREAM_TRACE() |
#define | LOGIT_STREAM_DEBUG() |
#define | LOGIT_STREAM_INFO() |
#define | LOGIT_STREAM_WARN() |
#define | LOGIT_STREAM_ERROR() |
#define | LOGIT_STREAM_FATAL() |
#define | LOGIT_STREAM_TRACE_TO(index) |
#define | LOGIT_STREAM_DEBUG_TO(index) |
#define | LOGIT_STREAM_INFO_TO(index) |
#define | LOGIT_STREAM_WARN_TO(index) |
#define | LOGIT_STREAM_ERROR_TO(index) |
#define | LOGIT_STREAM_FATAL_TO(index) |
Conditional Logging | |
Macros for logging based on conditions. | |
#define | LOGIT_TRACE_IF(condition, ...) |
#define | LOGIT_TRACE0_IF(condition) |
#define | LOGIT_0TRACE_IF(condition) |
#define | LOGIT_0_TRACE_IF(condition) |
#define | LOGIT_NOARGS_TRACE_IF(condition) |
#define | LOGIT_FORMAT_TRACE_IF(condition, fmt, ...) |
#define | LOGIT_PRINT_TRACE_IF(condition, fmt) |
#define | LOGIT_PRINTF_TRACE_IF(condition, fmt, ...) |
#define | LOGIT_INFO_IF(condition, ...) |
#define | LOGIT_INFO0_IF(condition) |
#define | LOGIT_0INFO_IF(condition) |
#define | LOGIT_0_INFO_IF(condition) |
#define | LOGIT_NOARGS_INFO_IF(condition) |
#define | LOGIT_FORMAT_INFO_IF(condition, fmt, ...) |
#define | LOGIT_PRINT_INFO_IF(condition, fmt) |
#define | LOGIT_PRINTF_INFO_IF(condition, fmt, ...) |
#define | LOGIT_DEBUG_IF(condition, ...) |
#define | LOGIT_DEBUG0_IF(condition) |
#define | LOGIT_0DEBUG_IF(condition) |
#define | LOGIT_0_DEBUG_IF(condition) |
#define | LOGIT_NOARGS_DEBUG_IF(condition) |
#define | LOGIT_FORMAT_DEBUG_IF(condition, fmt, ...) |
#define | LOGIT_PRINT_DEBUG_IF(condition, fmt) |
#define | LOGIT_PRINTF_DEBUG_IF(condition, fmt, ...) |
#define | LOGIT_WARN_IF(condition, ...) |
#define | LOGIT_WARN0_IF(condition) |
#define | LOGIT_0WARN_IF(condition) |
#define | LOGIT_0_WARN_IF(condition) |
#define | LOGIT_NOARGS_WARN_IF(condition) |
#define | LOGIT_FORMAT_WARN_IF(condition, fmt, ...) |
#define | LOGIT_PRINT_WARN_IF(condition, fmt) |
#define | LOGIT_PRINTF_WARN_IF(condition, fmt, ...) |
#define | LOGIT_ERROR_IF(condition, ...) |
#define | LOGIT_ERROR0_IF(condition) |
#define | LOGIT_0ERROR_IF(condition) |
#define | LOGIT_0_ERROR_IF(condition) |
#define | LOGIT_NOARGS_ERROR_IF(condition) |
#define | LOGIT_FORMAT_ERROR_IF(condition, fmt, ...) |
#define | LOGIT_PRINT_ERROR_IF(condition, fmt) |
#define | LOGIT_PRINTF_ERROR_IF(condition, fmt, ...) |
#define | LOGIT_FATAL_IF(condition, ...) |
#define | LOGIT_FATAL0_IF(condition) |
#define | LOGIT_0FATAL_IF(condition) |
#define | LOGIT_0_FATAL_IF(condition) |
#define | LOGIT_NOARGS_FATAL_IF(condition) |
#define | LOGIT_FORMAT_FATAL_IF(condition, fmt, ...) |
#define | LOGIT_PRINT_FATAL_IF(condition, fmt) |
#define | LOGIT_PRINTF_FATAL_IF(condition, fmt, ...) |
Logger Management | |
Macros for managing loggers. | |
#define | LOGIT_GET_STRING_PARAM(logger_index, param) |
Retrieves string parameter from a logger. | |
#define | LOGIT_GET_INT_PARAM(logger_index, param) |
Retrieves integer parameter from a logger. | |
#define | LOGIT_GET_FLOAT_PARAM(logger_index, param) |
Retrieves floating-point parameter from a logger. | |
#define | LOGIT_GET_LAST_FILE_NAME(logger_index) |
Retrieves last log file name from a specific logger. | |
#define | LOGIT_GET_LAST_FILE_PATH(logger_index) |
Retrieves last log file path from a specific logger. | |
#define | LOGIT_GET_LAST_LOG_TIMESTAMP(logger_index) |
Retrieves timestamp of last log from a specific logger. | |
#define | LOGIT_GET_TIME_SINCE_LAST_LOG(logger_index) |
Retrieves time since last log from a specific logger. | |
#define | LOGIT_SET_LOGGER_ENABLED(logger_index, enabled) |
Enables or disables a logger. | |
#define | LOGIT_IS_LOGGER_ENABLED(logger_index) |
Checks if a logger is enabled. | |
#define | LOGIT_SET_SINGLE_MODE(logger_index, single_mode) |
Sets single mode for a specific logger. | |
#define | LOGIT_SET_TIME_OFFSET(logger_index, offset_ms) |
Sets timestamp offset for a specific logger. | |
#define | LOGIT_SET_LOG_LEVEL_TO(logger_index, level) |
Sets minimal log level for a specific logger. | |
#define | LOGIT_SET_LOG_LEVEL(level) |
Sets minimal log level for all loggers. | |
#define | LOGIT_IS_SINGLE_MODE(logger_index) |
Checks if a logger is in single mode. | |
Task Executor Configuration | |
Macros for configuring the TaskExecutor. | |
#define | LOGIT_SET_MAX_QUEUE(size) |
Sets the maximum number of queued tasks. | |
#define | LOGIT_QUEUE_DROP logit::detail::QueuePolicy::Drop |
Queue policy for dropping tasks when the queue is full. | |
#define | LOGIT_QUEUE_BLOCK logit::detail::QueuePolicy::Block |
Queue policy for blocking when the queue is full. | |
#define | LOGIT_SET_QUEUE_POLICY(mode) |
Sets the behavior when the queue is full. | |
Provides various logging macros for different log levels and options.
Definition in file LogMacros.hpp.
#define _LOGIT_LOG_MACROS_HPP_INCLUDED |
Definition at line 3 of file LogMacros.hpp.
#define LOGIT_0_DEBUG | ( | ) |
Definition at line 334 of file LogMacros.hpp.
#define LOGIT_0_DEBUG_IF | ( | condition | ) |
Definition at line 539 of file LogMacros.hpp.
#define LOGIT_0_DEBUG_TO | ( | index | ) |
Definition at line 344 of file LogMacros.hpp.
#define LOGIT_0_ERROR | ( | ) |
Definition at line 412 of file LogMacros.hpp.
#define LOGIT_0_ERROR_IF | ( | condition | ) |
Definition at line 581 of file LogMacros.hpp.
#define LOGIT_0_ERROR_TO | ( | index | ) |
Definition at line 422 of file LogMacros.hpp.
#define LOGIT_0_FATAL | ( | ) |
Definition at line 451 of file LogMacros.hpp.
#define LOGIT_0_FATAL_IF | ( | condition | ) |
Definition at line 602 of file LogMacros.hpp.
#define LOGIT_0_FATAL_TO | ( | index | ) |
Definition at line 461 of file LogMacros.hpp.
#define LOGIT_0_INFO | ( | ) |
Definition at line 295 of file LogMacros.hpp.
#define LOGIT_0_INFO_IF | ( | condition | ) |
Definition at line 518 of file LogMacros.hpp.
#define LOGIT_0_INFO_TO | ( | index | ) |
Definition at line 305 of file LogMacros.hpp.
#define LOGIT_0_TRACE | ( | ) |
Definition at line 256 of file LogMacros.hpp.
#define LOGIT_0_TRACE_IF | ( | condition | ) |
Definition at line 497 of file LogMacros.hpp.
#define LOGIT_0_TRACE_TO | ( | index | ) |
Definition at line 266 of file LogMacros.hpp.
#define LOGIT_0_WARN | ( | ) |
Definition at line 373 of file LogMacros.hpp.
#define LOGIT_0_WARN_IF | ( | condition | ) |
Definition at line 560 of file LogMacros.hpp.
#define LOGIT_0_WARN_TO | ( | index | ) |
Definition at line 383 of file LogMacros.hpp.
#define LOGIT_0DEBUG | ( | ) |
Definition at line 333 of file LogMacros.hpp.
#define LOGIT_0DEBUG_IF | ( | condition | ) |
Definition at line 538 of file LogMacros.hpp.
#define LOGIT_0DEBUG_TO | ( | index | ) |
Definition at line 343 of file LogMacros.hpp.
#define LOGIT_0ERROR | ( | ) |
Definition at line 411 of file LogMacros.hpp.
#define LOGIT_0ERROR_IF | ( | condition | ) |
Definition at line 580 of file LogMacros.hpp.
#define LOGIT_0ERROR_TO | ( | index | ) |
Definition at line 421 of file LogMacros.hpp.
#define LOGIT_0FATAL | ( | ) |
Definition at line 450 of file LogMacros.hpp.
#define LOGIT_0FATAL_IF | ( | condition | ) |
Definition at line 601 of file LogMacros.hpp.
#define LOGIT_0FATAL_TO | ( | index | ) |
Definition at line 460 of file LogMacros.hpp.
#define LOGIT_0INFO | ( | ) |
Definition at line 294 of file LogMacros.hpp.
#define LOGIT_0INFO_IF | ( | condition | ) |
Definition at line 517 of file LogMacros.hpp.
#define LOGIT_0INFO_TO | ( | index | ) |
Definition at line 304 of file LogMacros.hpp.
#define LOGIT_0TRACE | ( | ) |
Definition at line 255 of file LogMacros.hpp.
#define LOGIT_0TRACE_IF | ( | condition | ) |
Definition at line 496 of file LogMacros.hpp.
#define LOGIT_0TRACE_TO | ( | index | ) |
Definition at line 265 of file LogMacros.hpp.
#define LOGIT_0WARN | ( | ) |
Definition at line 372 of file LogMacros.hpp.
#define LOGIT_0WARN_IF | ( | condition | ) |
Definition at line 559 of file LogMacros.hpp.
#define LOGIT_0WARN_TO | ( | index | ) |
Definition at line 382 of file LogMacros.hpp.
#define LOGIT_ADD_CONSOLE | ( | pattern, | |
async ) |
Macro for adding a console logger with a specific pattern and mode.
pattern | The format pattern for log messages. |
async | Boolean indicating whether logging should be asynchronous (true) or synchronous (false). This version uses new and std::unique_ptr for C++11 compatibility. |
Definition at line 1029 of file LogMacros.hpp.
#define LOGIT_ADD_CONSOLE_DEFAULT | ( | ) |
Macro for adding the default console logger.
This logger uses the default format pattern and asynchronous logging. This version uses new
and std::unique_ptr
for C++11 compatibility.
Definition at line 1049 of file LogMacros.hpp.
#define LOGIT_ADD_CONSOLE_DEFAULT_SINGLE_MODE | ( | ) |
Macro for adding the default console logger in single_mode.
In single_mode, the console logger can only be invoked using macros like LOGIT_TRACE_TO
. This version uses new
and std::unique_ptr
for C++11 compatibility.
Definition at line 1059 of file LogMacros.hpp.
#define LOGIT_ADD_CONSOLE_SINGLE_MODE | ( | pattern, | |
async ) |
Macro for adding a console logger in single_mode with a specific pattern and mode.
pattern | The format pattern for log messages. |
async | Boolean indicating whether logging should be asynchronous (true) or synchronous (false). In single_mode, the console logger can only be invoked using macros like LOGIT_TRACE_TO . This version uses new and std::unique_ptr for C++11 compatibility. |
Definition at line 1040 of file LogMacros.hpp.
#define LOGIT_ADD_FILE_LOGGER | ( | directory, | |
async, | |||
auto_delete_days, | |||
pattern ) |
Macro for adding a file logger with specific settings.
directory | The directory where log files will be stored. |
async | Boolean indicating whether logging should be asynchronous (true) or synchronous (false). |
auto_delete_days | Number of days after which old log files are deleted. |
pattern | The format pattern for log messages. This version uses new and std::unique_ptr for C++11 compatibility. |
Definition at line 1072 of file LogMacros.hpp.
#define LOGIT_ADD_FILE_LOGGER_DEFAULT | ( | ) |
Macro for adding the default file logger.
This logger writes logs to the default file path and deletes logs older than the default number of days. This version uses new
and std::unique_ptr
for C++11 compatibility.
Definition at line 1095 of file LogMacros.hpp.
#define LOGIT_ADD_FILE_LOGGER_DEFAULT_SINGLE_MODE | ( | ) |
Macro for adding the default file logger in single_mode.
In single_mode, the file logger can only be invoked using macros like LOGIT_TRACE_TO
. This version uses new
and std::unique_ptr
for C++11 compatibility.
Definition at line 1106 of file LogMacros.hpp.
#define LOGIT_ADD_FILE_LOGGER_DEFAULT_WITH_ROTATION | ( | ) |
Definition at line 1128 of file LogMacros.hpp.
#define LOGIT_ADD_FILE_LOGGER_SINGLE_MODE | ( | directory, | |
async, | |||
auto_delete_days, | |||
pattern ) |
Macro for adding a file logger in single_mode with specific settings.
directory | The directory where log files will be stored. |
async | Boolean indicating whether logging should be asynchronous (true) or synchronous (false). |
auto_delete_days | Number of days after which old log files are deleted. |
pattern | The format pattern for log messages. In single_mode, the file logger can only be invoked using macros like LOGIT_TRACE_TO . This version uses new and std::unique_ptr for C++11 compatibility. |
Definition at line 1085 of file LogMacros.hpp.
#define LOGIT_ADD_FILE_LOGGER_WITH_ROTATION | ( | dir, | |
async, | |||
days, | |||
pattern, | |||
max_bytes, | |||
max_files ) |
Definition at line 1115 of file LogMacros.hpp.
#define LOGIT_ADD_FILE_LOGGER_WITH_ROTATION_SINGLE_MODE | ( | dir, | |
async, | |||
days, | |||
pattern, | |||
max_bytes, | |||
max_files ) |
Definition at line 1121 of file LogMacros.hpp.
#define LOGIT_ADD_LOGGER | ( | logger_type, | |
logger_args, | |||
formatter_type, | |||
formatter_args ) |
Macro for adding a logger with a specific formatter.
logger_type | The type of logger (e.g., ConsoleLogger ). |
logger_args | Arguments for the logger constructor, enclosed in parentheses. |
formatter_type | The type of formatter (e.g., SimpleLogFormatter ). |
formatter_args | Arguments for the formatter constructor, enclosed in parentheses. This version uses new and std::unique_ptr for C++11 compatibility. |
Definition at line 1006 of file LogMacros.hpp.
#define LOGIT_ADD_LOGGER_SINGLE_MODE | ( | logger_type, | |
logger_args, | |||
formatter_type, | |||
formatter_args ) |
Macro for adding a logger with a specific formatter in single_mode.
logger_type | The type of logger (e.g., ConsoleLogger ). |
logger_args | Arguments for the logger constructor, enclosed in parentheses. |
formatter_type | The type of formatter (e.g., SimpleLogFormatter ). |
formatter_args | Arguments for the formatter constructor, enclosed in parentheses. In single_mode, loggers can only be invoked explicitly using macros like LOGIT_TRACE_TO . This version uses new and std::unique_ptr for C++11 compatibility. |
Definition at line 1019 of file LogMacros.hpp.
#define LOGIT_ADD_UNIQUE_FILE_LOGGER | ( | directory, | |
async, | |||
auto_delete_days, | |||
hash_length, | |||
pattern ) |
Macro for adding a unique file logger with custom parameters.
directory | The directory where log files will be stored. |
async | Boolean indicating whether logging should be asynchronous (true) or synchronous (false). |
auto_delete_days | Number of days after which old log files are deleted. |
hash_length | The length of the hash to be appended to the log file name. |
pattern | The format pattern for log messages. This version uses new and std::unique_ptr for C++11 compatibility. |
Definition at line 1143 of file LogMacros.hpp.
#define LOGIT_ADD_UNIQUE_FILE_LOGGER_DEFAULT | ( | ) |
Macro for adding the default unique file logger.
This macro adds a UniqueFileLogger
with default settings, which writes each log message to a new file. Log files are stored in the directory specified by LOGIT_UNIQUE_FILE_LOGGER_PATH
, using asynchronous mode and auto-deleting logs older than the number of days specified by LOGIT_FILE_LOGGER_AUTO_DELETE_DAYS
. This version uses new
and std::unique_ptr
for C++11 compatibility.
Definition at line 1169 of file LogMacros.hpp.
#define LOGIT_ADD_UNIQUE_FILE_LOGGER_DEFAULT_SINGLE_MODE | ( | ) |
Macro for adding the default unique file logger in single_mode.
This macro adds a UniqueFileLogger
with default settings, which writes each log message to a new file. Log files are stored in the directory specified by LOGIT_UNIQUE_FILE_LOGGER_PATH
, using asynchronous mode and auto-deleting logs older than the number of days specified by LOGIT_FILE_LOGGER_AUTO_DELETE_DAYS
. In single_mode, the unique file logger can only be invoked using macros like LOGIT_TRACE_TO
. This version uses new
and std::unique_ptr
for C++11 compatibility.
Definition at line 1182 of file LogMacros.hpp.
#define LOGIT_ADD_UNIQUE_FILE_LOGGER_SINGLE_MODE | ( | directory, | |
async, | |||
auto_delete_days, | |||
hash_length, | |||
pattern ) |
Macro for adding a unique file logger in single_mode with custom parameters.
directory | The directory where log files will be stored. |
async | Boolean indicating whether logging should be asynchronous (true) or synchronous (false). |
auto_delete_days | Number of days after which old log files are deleted. |
hash_length | The length of the hash to be appended to the log file name. |
pattern | The format pattern for log messages. In single_mode, the unique file logger can only be invoked using macros like LOGIT_TRACE_TO . This version uses new and std::unique_ptr for C++11 compatibility. |
Definition at line 1157 of file LogMacros.hpp.
#define LOGIT_DEBUG | ( | ... | ) |
Definition at line 331 of file LogMacros.hpp.
#define LOGIT_DEBUG0 | ( | ) |
Definition at line 332 of file LogMacros.hpp.
#define LOGIT_DEBUG0_IF | ( | condition | ) |
Definition at line 537 of file LogMacros.hpp.
#define LOGIT_DEBUG0_TO | ( | index | ) |
Definition at line 342 of file LogMacros.hpp.
#define LOGIT_DEBUG_IF | ( | condition, | |
... ) |
Definition at line 536 of file LogMacros.hpp.
#define LOGIT_DEBUG_TO | ( | index, | |
... ) |
Definition at line 341 of file LogMacros.hpp.
#define LOGIT_ERROR | ( | ... | ) |
Definition at line 409 of file LogMacros.hpp.
#define LOGIT_ERROR0 | ( | ) |
Definition at line 410 of file LogMacros.hpp.
#define LOGIT_ERROR0_IF | ( | condition | ) |
Definition at line 579 of file LogMacros.hpp.
#define LOGIT_ERROR0_TO | ( | index | ) |
Definition at line 420 of file LogMacros.hpp.
#define LOGIT_ERROR_IF | ( | condition, | |
... ) |
Definition at line 578 of file LogMacros.hpp.
#define LOGIT_ERROR_TO | ( | index, | |
... ) |
Definition at line 419 of file LogMacros.hpp.
#define LOGIT_FATAL | ( | ... | ) |
Definition at line 448 of file LogMacros.hpp.
#define LOGIT_FATAL0 | ( | ) |
Definition at line 449 of file LogMacros.hpp.
#define LOGIT_FATAL0_IF | ( | condition | ) |
Definition at line 600 of file LogMacros.hpp.
#define LOGIT_FATAL0_TO | ( | index | ) |
Definition at line 459 of file LogMacros.hpp.
#define LOGIT_FATAL_IF | ( | condition, | |
... ) |
Definition at line 599 of file LogMacros.hpp.
#define LOGIT_FATAL_TO | ( | index, | |
... ) |
Definition at line 458 of file LogMacros.hpp.
#define LOGIT_FORMAT_DEBUG | ( | fmt, | |
... ) |
Definition at line 336 of file LogMacros.hpp.
#define LOGIT_FORMAT_DEBUG_IF | ( | condition, | |
fmt, | |||
... ) |
Definition at line 541 of file LogMacros.hpp.
#define LOGIT_FORMAT_DEBUG_TO | ( | index, | |
fmt, | |||
... ) |
Definition at line 346 of file LogMacros.hpp.
#define LOGIT_FORMAT_ERROR | ( | fmt, | |
... ) |
Definition at line 414 of file LogMacros.hpp.
#define LOGIT_FORMAT_ERROR_IF | ( | condition, | |
fmt, | |||
... ) |
Definition at line 583 of file LogMacros.hpp.
#define LOGIT_FORMAT_ERROR_TO | ( | index, | |
fmt, | |||
... ) |
Definition at line 424 of file LogMacros.hpp.
#define LOGIT_FORMAT_FATAL | ( | fmt, | |
... ) |
Definition at line 453 of file LogMacros.hpp.
#define LOGIT_FORMAT_FATAL_IF | ( | condition, | |
fmt, | |||
... ) |
Definition at line 604 of file LogMacros.hpp.
#define LOGIT_FORMAT_FATAL_TO | ( | index, | |
fmt, | |||
... ) |
Definition at line 463 of file LogMacros.hpp.
#define LOGIT_FORMAT_INFO | ( | fmt, | |
... ) |
Definition at line 297 of file LogMacros.hpp.
#define LOGIT_FORMAT_INFO_IF | ( | condition, | |
fmt, | |||
... ) |
Definition at line 520 of file LogMacros.hpp.
#define LOGIT_FORMAT_INFO_TO | ( | index, | |
fmt, | |||
... ) |
Definition at line 307 of file LogMacros.hpp.
#define LOGIT_FORMAT_TRACE | ( | fmt, | |
... ) |
Definition at line 258 of file LogMacros.hpp.
#define LOGIT_FORMAT_TRACE_IF | ( | condition, | |
fmt, | |||
... ) |
Definition at line 499 of file LogMacros.hpp.
#define LOGIT_FORMAT_TRACE_TO | ( | index, | |
fmt, | |||
... ) |
Definition at line 268 of file LogMacros.hpp.
#define LOGIT_FORMAT_WARN | ( | fmt, | |
... ) |
Definition at line 375 of file LogMacros.hpp.
#define LOGIT_FORMAT_WARN_IF | ( | condition, | |
fmt, | |||
... ) |
Definition at line 562 of file LogMacros.hpp.
#define LOGIT_FORMAT_WARN_TO | ( | index, | |
fmt, | |||
... ) |
Definition at line 385 of file LogMacros.hpp.
#define LOGIT_GET_FLOAT_PARAM | ( | logger_index, | |
param ) |
Retrieves floating-point parameter from a logger.
logger_index | Index of logger. |
param | Parameter to retrieve. |
Definition at line 1214 of file LogMacros.hpp.
#define LOGIT_GET_INT_PARAM | ( | logger_index, | |
param ) |
Retrieves integer parameter from a logger.
logger_index | Index of logger. |
param | Parameter to retrieve. |
Definition at line 1207 of file LogMacros.hpp.
#define LOGIT_GET_LAST_FILE_NAME | ( | logger_index | ) |
Retrieves last log file name from a specific logger.
logger_index | Index of logger. |
Definition at line 1220 of file LogMacros.hpp.
#define LOGIT_GET_LAST_FILE_PATH | ( | logger_index | ) |
Retrieves last log file path from a specific logger.
logger_index | Index of logger. |
Definition at line 1226 of file LogMacros.hpp.
#define LOGIT_GET_LAST_LOG_TIMESTAMP | ( | logger_index | ) |
Retrieves timestamp of last log from a specific logger.
logger_index | Index of logger. |
Definition at line 1232 of file LogMacros.hpp.
#define LOGIT_GET_STRING_PARAM | ( | logger_index, | |
param ) |
Retrieves string parameter from a logger.
logger_index | Index of logger. |
param | Parameter to retrieve. |
Definition at line 1200 of file LogMacros.hpp.
#define LOGIT_GET_TIME_SINCE_LAST_LOG | ( | logger_index | ) |
Retrieves time since last log from a specific logger.
logger_index | Index of logger. |
Definition at line 1238 of file LogMacros.hpp.
#define LOGIT_INFO | ( | ... | ) |
Definition at line 292 of file LogMacros.hpp.
#define LOGIT_INFO0 | ( | ) |
Definition at line 293 of file LogMacros.hpp.
#define LOGIT_INFO0_IF | ( | condition | ) |
Definition at line 516 of file LogMacros.hpp.
#define LOGIT_INFO0_TO | ( | index | ) |
Definition at line 303 of file LogMacros.hpp.
#define LOGIT_INFO_IF | ( | condition, | |
... ) |
Definition at line 515 of file LogMacros.hpp.
#define LOGIT_INFO_TO | ( | index, | |
... ) |
Definition at line 302 of file LogMacros.hpp.
#define LOGIT_IS_LOGGER_ENABLED | ( | logger_index | ) |
Checks if a logger is enabled.
logger_index | Index of logger. |
Definition at line 1250 of file LogMacros.hpp.
#define LOGIT_IS_SINGLE_MODE | ( | logger_index | ) |
Checks if a logger is in single mode.
logger_index | Index of logger. |
Definition at line 1279 of file LogMacros.hpp.
#define LOGIT_LOG_AND_RETURN | ( | level, | |
format, | |||
arg_names, | |||
... ) |
Logs a message with arguments.
level | The log level. |
format | The log message format. |
arg_names | The names of the arguments. |
... | The arguments to log. |
Definition at line 165 of file LogMacros.hpp.
#define LOGIT_LOG_AND_RETURN_NOARGS | ( | level, | |
format ) |
Logs a message without arguments.
level | The log level. |
format | The log message format. |
Definition at line 115 of file LogMacros.hpp.
#define LOGIT_LOG_AND_RETURN_NOARGS_WITH_INDEX | ( | level, | |
index, | |||
format ) |
Logs a message to a specific logger without arguments.
level | The log level. |
index | The index of the logger to log to. |
format | The log message format. |
Definition at line 138 of file LogMacros.hpp.
#define LOGIT_LOG_AND_RETURN_PRINT | ( | level, | |
arg_names, | |||
... ) |
Logs a message with arguments, but prints them without using a format string.
level | The log level. |
arg_names | The names of the arguments. |
... | The arguments to log. |
This macro logs the raw arguments without applying any formatting to them.
Definition at line 189 of file LogMacros.hpp.
#define LOGIT_LOG_AND_RETURN_PRINT_WITH_INDEX | ( | level, | |
index, | |||
arg_names, | |||
... ) |
Logs a message with arguments to a specific logger, but prints them without using a format string.
level | The log level. |
index | The index of the logger to log to. |
arg_names | The names of the arguments. |
... | The arguments to log. |
This macro logs the raw arguments without applying any formatting to them to a specific logger.
Definition at line 239 of file LogMacros.hpp.
#define LOGIT_LOG_AND_RETURN_WITH_INDEX | ( | level, | |
index, | |||
format, | |||
arg_names, | |||
... ) |
Logs a message with arguments to a specific logger.
level | The log level. |
index | The index of the logger to log to. |
format | The log message format. |
arg_names | The names of the arguments. |
... | The arguments to log. |
Definition at line 214 of file LogMacros.hpp.
#define LOGIT_NOARGS_DEBUG | ( | ) |
Definition at line 335 of file LogMacros.hpp.
#define LOGIT_NOARGS_DEBUG_IF | ( | condition | ) |
Definition at line 540 of file LogMacros.hpp.
#define LOGIT_NOARGS_DEBUG_TO | ( | index | ) |
Definition at line 345 of file LogMacros.hpp.
#define LOGIT_NOARGS_ERROR | ( | ) |
Definition at line 413 of file LogMacros.hpp.
#define LOGIT_NOARGS_ERROR_IF | ( | condition | ) |
Definition at line 582 of file LogMacros.hpp.
#define LOGIT_NOARGS_ERROR_TO | ( | index | ) |
Definition at line 423 of file LogMacros.hpp.
#define LOGIT_NOARGS_FATAL | ( | ) |
Definition at line 452 of file LogMacros.hpp.
#define LOGIT_NOARGS_FATAL_IF | ( | condition | ) |
Definition at line 603 of file LogMacros.hpp.
#define LOGIT_NOARGS_FATAL_TO | ( | index | ) |
Definition at line 462 of file LogMacros.hpp.
#define LOGIT_NOARGS_INFO | ( | ) |
Definition at line 296 of file LogMacros.hpp.
#define LOGIT_NOARGS_INFO_IF | ( | condition | ) |
Definition at line 519 of file LogMacros.hpp.
#define LOGIT_NOARGS_INFO_TO | ( | index | ) |
Definition at line 306 of file LogMacros.hpp.
#define LOGIT_NOARGS_TRACE | ( | ) |
Definition at line 257 of file LogMacros.hpp.
#define LOGIT_NOARGS_TRACE_IF | ( | condition | ) |
Definition at line 498 of file LogMacros.hpp.
#define LOGIT_NOARGS_TRACE_TO | ( | index | ) |
Definition at line 267 of file LogMacros.hpp.
#define LOGIT_NOARGS_WARN | ( | ) |
Definition at line 374 of file LogMacros.hpp.
#define LOGIT_NOARGS_WARN_IF | ( | condition | ) |
Definition at line 561 of file LogMacros.hpp.
#define LOGIT_NOARGS_WARN_TO | ( | index | ) |
Definition at line 384 of file LogMacros.hpp.
#define LOGIT_PRINT_DEBUG | ( | ... | ) |
Definition at line 337 of file LogMacros.hpp.
#define LOGIT_PRINT_DEBUG_IF | ( | condition, | |
fmt ) |
Definition at line 542 of file LogMacros.hpp.
#define LOGIT_PRINT_DEBUG_TO | ( | index, | |
... ) |
Definition at line 347 of file LogMacros.hpp.
#define LOGIT_PRINT_ERROR | ( | ... | ) |
Definition at line 415 of file LogMacros.hpp.
#define LOGIT_PRINT_ERROR_IF | ( | condition, | |
fmt ) |
Definition at line 584 of file LogMacros.hpp.
#define LOGIT_PRINT_ERROR_TO | ( | index, | |
... ) |
Definition at line 425 of file LogMacros.hpp.
#define LOGIT_PRINT_FATAL | ( | ... | ) |
Definition at line 454 of file LogMacros.hpp.
#define LOGIT_PRINT_FATAL_IF | ( | condition, | |
fmt ) |
Definition at line 605 of file LogMacros.hpp.
#define LOGIT_PRINT_FATAL_TO | ( | index, | |
... ) |
Definition at line 464 of file LogMacros.hpp.
#define LOGIT_PRINT_INFO | ( | ... | ) |
Definition at line 298 of file LogMacros.hpp.
#define LOGIT_PRINT_INFO_IF | ( | condition, | |
fmt ) |
Definition at line 521 of file LogMacros.hpp.
#define LOGIT_PRINT_INFO_TO | ( | index, | |
... ) |
Definition at line 308 of file LogMacros.hpp.
#define LOGIT_PRINT_TRACE | ( | ... | ) |
Definition at line 259 of file LogMacros.hpp.
#define LOGIT_PRINT_TRACE_IF | ( | condition, | |
fmt ) |
Definition at line 500 of file LogMacros.hpp.
#define LOGIT_PRINT_TRACE_TO | ( | index, | |
... ) |
Definition at line 269 of file LogMacros.hpp.
#define LOGIT_PRINT_WARN | ( | ... | ) |
Definition at line 376 of file LogMacros.hpp.
#define LOGIT_PRINT_WARN_IF | ( | condition, | |
fmt ) |
Definition at line 563 of file LogMacros.hpp.
#define LOGIT_PRINT_WARN_TO | ( | index, | |
... ) |
Definition at line 386 of file LogMacros.hpp.
#define LOGIT_PRINTF_DEBUG | ( | fmt, | |
... ) |
Definition at line 338 of file LogMacros.hpp.
#define LOGIT_PRINTF_DEBUG_IF | ( | condition, | |
fmt, | |||
... ) |
Definition at line 543 of file LogMacros.hpp.
#define LOGIT_PRINTF_DEBUG_TO | ( | index, | |
fmt, | |||
... ) |
Definition at line 348 of file LogMacros.hpp.
#define LOGIT_PRINTF_ERROR | ( | fmt, | |
... ) |
Definition at line 416 of file LogMacros.hpp.
#define LOGIT_PRINTF_ERROR_IF | ( | condition, | |
fmt, | |||
... ) |
Definition at line 585 of file LogMacros.hpp.
#define LOGIT_PRINTF_ERROR_TO | ( | index, | |
fmt, | |||
... ) |
Definition at line 426 of file LogMacros.hpp.
#define LOGIT_PRINTF_FATAL | ( | fmt, | |
... ) |
Definition at line 455 of file LogMacros.hpp.
#define LOGIT_PRINTF_FATAL_IF | ( | condition, | |
fmt, | |||
... ) |
Definition at line 606 of file LogMacros.hpp.
#define LOGIT_PRINTF_FATAL_TO | ( | index, | |
fmt, | |||
... ) |
Definition at line 465 of file LogMacros.hpp.
#define LOGIT_PRINTF_INFO | ( | fmt, | |
... ) |
Definition at line 299 of file LogMacros.hpp.
#define LOGIT_PRINTF_INFO_IF | ( | condition, | |
fmt, | |||
... ) |
Definition at line 522 of file LogMacros.hpp.
#define LOGIT_PRINTF_INFO_TO | ( | index, | |
fmt, | |||
... ) |
Definition at line 309 of file LogMacros.hpp.
#define LOGIT_PRINTF_TRACE | ( | fmt, | |
... ) |
Definition at line 260 of file LogMacros.hpp.
#define LOGIT_PRINTF_TRACE_IF | ( | condition, | |
fmt, | |||
... ) |
Definition at line 501 of file LogMacros.hpp.
#define LOGIT_PRINTF_TRACE_TO | ( | index, | |
fmt, | |||
... ) |
Definition at line 270 of file LogMacros.hpp.
#define LOGIT_PRINTF_WARN | ( | fmt, | |
... ) |
Definition at line 377 of file LogMacros.hpp.
#define LOGIT_PRINTF_WARN_IF | ( | condition, | |
fmt, | |||
... ) |
Definition at line 564 of file LogMacros.hpp.
#define LOGIT_PRINTF_WARN_TO | ( | index, | |
fmt, | |||
... ) |
Definition at line 387 of file LogMacros.hpp.
#define LOGIT_QUEUE_BLOCK logit::detail::QueuePolicy::Block |
Queue policy for blocking when the queue is full.
Definition at line 1297 of file LogMacros.hpp.
#define LOGIT_QUEUE_DROP logit::detail::QueuePolicy::Drop |
Queue policy for dropping tasks when the queue is full.
Definition at line 1294 of file LogMacros.hpp.
#define LOGIT_SET_LOG_LEVEL | ( | level | ) |
Sets minimal log level for all loggers.
level | Minimum log level. |
Definition at line 1273 of file LogMacros.hpp.
#define LOGIT_SET_LOG_LEVEL_TO | ( | logger_index, | |
level ) |
Sets minimal log level for a specific logger.
logger_index | Index of logger. |
level | Minimum log level. |
Definition at line 1268 of file LogMacros.hpp.
#define LOGIT_SET_LOGGER_ENABLED | ( | logger_index, | |
enabled ) |
Enables or disables a logger.
logger_index | Index of logger. |
enabled | True to enable, false to disable. |
Definition at line 1244 of file LogMacros.hpp.
#define LOGIT_SET_MAX_QUEUE | ( | size | ) |
Sets the maximum number of queued tasks.
size | Maximum queue size (0 for unlimited). |
Definition at line 1290 of file LogMacros.hpp.
#define LOGIT_SET_QUEUE_POLICY | ( | mode | ) |
Sets the behavior when the queue is full.
mode | LOGIT_QUEUE_DROP or LOGIT_QUEUE_BLOCK. |
Definition at line 1301 of file LogMacros.hpp.
#define LOGIT_SET_SINGLE_MODE | ( | logger_index, | |
single_mode ) |
Sets single mode for a specific logger.
logger_index | Index of logger. |
single_mode | True to enable single mode, false otherwise. |
Definition at line 1256 of file LogMacros.hpp.
#define LOGIT_SET_TIME_OFFSET | ( | logger_index, | |
offset_ms ) |
Sets timestamp offset for a specific logger.
logger_index | Index of logger. |
offset_ms | Offset in milliseconds. |
Definition at line 1262 of file LogMacros.hpp.
#define LOGIT_SHUTDOWN | ( | ) |
#define LOGIT_STREAM | ( | level | ) |
Begin a log stream for the specified log level.
Definition at line 57 of file LogMacros.hpp.
#define LOGIT_STREAM_DEBUG | ( | ) |
Definition at line 65 of file LogMacros.hpp.
#define LOGIT_STREAM_DEBUG_TO | ( | index | ) |
Definition at line 72 of file LogMacros.hpp.
#define LOGIT_STREAM_ERROR | ( | ) |
Definition at line 68 of file LogMacros.hpp.
#define LOGIT_STREAM_ERROR_TO | ( | index | ) |
Definition at line 75 of file LogMacros.hpp.
#define LOGIT_STREAM_FATAL | ( | ) |
Definition at line 69 of file LogMacros.hpp.
#define LOGIT_STREAM_FATAL_TO | ( | index | ) |
Definition at line 76 of file LogMacros.hpp.
#define LOGIT_STREAM_INFO | ( | ) |
Definition at line 66 of file LogMacros.hpp.
#define LOGIT_STREAM_INFO_TO | ( | index | ) |
Definition at line 73 of file LogMacros.hpp.
#define LOGIT_STREAM_TRACE | ( | ) |
Definition at line 64 of file LogMacros.hpp.
#define LOGIT_STREAM_TRACE_TO | ( | index | ) |
Definition at line 71 of file LogMacros.hpp.
#define LOGIT_STREAM_WARN | ( | ) |
Definition at line 67 of file LogMacros.hpp.
#define LOGIT_STREAM_WARN_TO | ( | index | ) |
Definition at line 74 of file LogMacros.hpp.
#define LOGIT_STREAM_WITH_INDEX | ( | level, | |
index ) |
Begin a log stream for the specified log level, targeting a specific logger.
Definition at line 61 of file LogMacros.hpp.
#define LOGIT_TRACE | ( | ... | ) |
Definition at line 253 of file LogMacros.hpp.
#define LOGIT_TRACE0 | ( | ) |
Definition at line 254 of file LogMacros.hpp.
#define LOGIT_TRACE0_IF | ( | condition | ) |
Definition at line 495 of file LogMacros.hpp.
#define LOGIT_TRACE0_TO | ( | index | ) |
Definition at line 264 of file LogMacros.hpp.
#define LOGIT_TRACE_IF | ( | condition, | |
... ) |
Definition at line 494 of file LogMacros.hpp.
#define LOGIT_TRACE_TO | ( | index, | |
... ) |
Definition at line 263 of file LogMacros.hpp.
#define LOGIT_WAIT | ( | ) |
Macro for waiting for all asynchronous loggers to finish processing.
Definition at line 1307 of file LogMacros.hpp.
#define LOGIT_WARN | ( | ... | ) |
Definition at line 370 of file LogMacros.hpp.
#define LOGIT_WARN0 | ( | ) |
Definition at line 371 of file LogMacros.hpp.
#define LOGIT_WARN0_IF | ( | condition | ) |
Definition at line 558 of file LogMacros.hpp.
#define LOGIT_WARN0_TO | ( | index | ) |
Definition at line 381 of file LogMacros.hpp.
#define LOGIT_WARN_IF | ( | condition, | |
... ) |
Definition at line 557 of file LogMacros.hpp.
#define LOGIT_WARN_TO | ( | index, | |
... ) |
Definition at line 380 of file LogMacros.hpp.