Go to the source code of this file.
|
#define | BIO_LOG_DEBUG(format, ...) log(log::Level::Debug(), format, __VA_ARGS__) |
|
#define | BIO_LOG_ERROR(format, ...) log(log::Level::Error(), format, __VA_ARGS__) |
|
#define | BIO_LOG_INFO(format, ...) log(log::Level::Info(), format, __VA_ARGS__) |
|
#define | BIO_LOG_LEVEL_FUNCTION_BODY(functionName) |
|
#define | BIO_LOG_PRINTF_MAX_LINE_SIZE 2000 |
|
#define | BIO_LOG_WARN(format, ...) log(log::Level::Warn(), format, __VA_ARGS__) |
|
◆ BIO_LOG_DEBUG
#define BIO_LOG_DEBUG |
( |
|
format, |
|
|
|
... |
|
) |
| log(log::Level::Debug(), format, __VA_ARGS__) |
◆ BIO_LOG_ERROR
#define BIO_LOG_ERROR |
( |
|
format, |
|
|
|
... |
|
) |
| log(log::Level::Error(), format, __VA_ARGS__) |
◆ BIO_LOG_INFO
#define BIO_LOG_INFO |
( |
|
format, |
|
|
|
... |
|
) |
| log(log::Level::Info(), format, __VA_ARGS__) |
◆ BIO_LOG_LEVEL_FUNCTION_BODY
#define BIO_LOG_LEVEL_FUNCTION_BODY |
( |
|
functionName | ) |
|
Value:
functionName, \
::bio::log::LevelPerspective::Instance(), \
::bio::log::Level)
#define BIO_ID_FUNCTION_BODY(functionName, perspective, dimension)
To make defining log Levels easier, use this macro to define the function body of your Level Function(). This will assign a value to a string that is identical to your FunctionName (e.g. log::LevelPerspective::Instance().GetNameFromId(MySpecialInformation()) would give "MySpecialInformation") Necessitates that functionName be a part of the log namespace and that any other namespaces are already specified (e.g. using namespace)
Definition at line 31 of file Macros.h.
◆ BIO_LOG_PRINTF_MAX_LINE_SIZE
#define BIO_LOG_PRINTF_MAX_LINE_SIZE 2000 |
◆ BIO_LOG_WARN
#define BIO_LOG_WARN |
( |
|
format, |
|
|
|
... |
|
) |
| log(log::Level::Warn(), format, __VA_ARGS__) |