Defines SLOGGING logging macros. More...
Go to the source code of this file.
Defines | |
#define | SLOGGING_DEBUG(stream, arg) (void)0 |
#define | SLOGGING_DEBUG_C(stream, classname, arg) (void)0 |
#define | SLOGGING_DEBUG_CO(stream, classname, objectname, arg) (void)0 |
#define | SLOGGING_ERROR(stream, arg) SLOGGING_LOG(stream, ::icl_core::logging::eLL_ERROR, arg) |
#define | SLOGGING_ERROR_C(stream, classname, arg) SLOGGING_LOG_C(stream, ::icl_core::logging::eLL_ERROR, classname, arg) |
#define | SLOGGING_ERROR_CO(stream, classname, objectname, arg) SLOGGING_LOG_CO(stream, ::icl_core::logging::eLL_ERROR, classname, objectname, arg) |
#define | SLOGGING_INFO(stream, arg) SLOGGING_LOG(stream, ::icl_core::logging::eLL_INFO, arg) |
#define | SLOGGING_INFO_C(stream, classname, arg) SLOGGING_LOG_C(stream, ::icl_core::logging::eLL_INFO, classname, arg) |
#define | SLOGGING_INFO_CO(stream, classname, objectname, arg) SLOGGING_LOG_CO(stream, ::icl_core::logging::eLL_INFO, classname, objectname, arg) |
#define | SLOGGING_LOG(stream, level, arg) SLOGGING_LOG_FLCO(stream, level, __FILE__, __LINE__, "", "", arg) |
#define | SLOGGING_LOG_C(stream, level, classname, arg) SLOGGING_LOG_FLCO(stream, level, __FILE__, __LINE__, #classname, "", arg) |
#define | SLOGGING_LOG_CO(stream, level, classname, objectname, arg) SLOGGING_LOG_FLCO(stream, level, __FILE__, __LINE__, #classname, objectname, arg) |
#define | SLOGGING_LOG_FLCO(stream, level, filename, line, classname, objectname, arg) |
#define | SLOGGING_TRACE(stream, arg) (void)0 |
#define | SLOGGING_TRACE_C(stream, classname, arg) (void)0 |
#define | SLOGGING_TRACE_CO(stream, classname, objectname, arg) (void)0 |
#define | SLOGGING_WARNING(stream, arg) SLOGGING_LOG(stream, ::icl_core::logging::eLL_WARNING, arg) |
#define | SLOGGING_WARNING_C(stream, classname, arg) SLOGGING_LOG_C(stream, ::icl_core::logging::eLL_WARNING, classname, arg) |
#define | SLOGGING_WARNING_CO(stream, classname, objectname, arg) SLOGGING_LOG_CO(stream, ::icl_core::logging::eLL_WARNING, classname, objectname, arg) |
Defines SLOGGING logging macros.
These logging macros require a log stream object as their first argument.
Definition in file LoggingMacros_SLOGGING.h.
#define SLOGGING_DEBUG | ( | stream, | |
arg | |||
) | (void)0 |
Definition at line 85 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_DEBUG_C | ( | stream, | |
classname, | |||
arg | |||
) | (void)0 |
Definition at line 97 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_DEBUG_CO | ( | stream, | |
classname, | |||
objectname, | |||
arg | |||
) | (void)0 |
Definition at line 109 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_ERROR | ( | stream, | |
arg | |||
) | SLOGGING_LOG(stream, ::icl_core::logging::eLL_ERROR, arg) |
Definition at line 78 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_ERROR_C | ( | stream, | |
classname, | |||
arg | |||
) | SLOGGING_LOG_C(stream, ::icl_core::logging::eLL_ERROR, classname, arg) |
Definition at line 90 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_ERROR_CO | ( | stream, | |
classname, | |||
objectname, | |||
arg | |||
) | SLOGGING_LOG_CO(stream, ::icl_core::logging::eLL_ERROR, classname, objectname, arg) |
Definition at line 102 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_INFO | ( | stream, | |
arg | |||
) | SLOGGING_LOG(stream, ::icl_core::logging::eLL_INFO, arg) |
Definition at line 80 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_INFO_C | ( | stream, | |
classname, | |||
arg | |||
) | SLOGGING_LOG_C(stream, ::icl_core::logging::eLL_INFO, classname, arg) |
Definition at line 92 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_INFO_CO | ( | stream, | |
classname, | |||
objectname, | |||
arg | |||
) | SLOGGING_LOG_CO(stream, ::icl_core::logging::eLL_INFO, classname, objectname, arg) |
Definition at line 104 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_LOG | ( | stream, | |
level, | |||
arg | |||
) | SLOGGING_LOG_FLCO(stream, level, __FILE__, __LINE__, "", "", arg) |
Definition at line 75 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_LOG_C | ( | stream, | |
level, | |||
classname, | |||
arg | |||
) | SLOGGING_LOG_FLCO(stream, level, __FILE__, __LINE__, #classname, "", arg) |
Definition at line 74 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_LOG_CO | ( | stream, | |
level, | |||
classname, | |||
objectname, | |||
arg | |||
) | SLOGGING_LOG_FLCO(stream, level, __FILE__, __LINE__, #classname, objectname, arg) |
Definition at line 73 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_LOG_FLCO | ( | stream, | |
level, | |||
filename, | |||
line, | |||
classname, | |||
objectname, | |||
arg | |||
) |
do { \ if (stream.isActive()) \ { \ if (stream.getLogLevel() <= level) \ { \ ::icl_core::logging::ThreadStream& thread_stream=stream.threadStream(level); \ thread_stream.setLineLogLevel(level); \ thread_stream.setFilename(filename); \ thread_stream.setLine(line); \ thread_stream.setClassname(classname); \ thread_stream.setObjectname(objectname); \ thread_stream.setFunction(__FUNCTION__); \ thread_stream << arg; \ } \ } \ } while (0)
Definition at line 55 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_TRACE | ( | stream, | |
arg | |||
) | (void)0 |
Definition at line 86 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_TRACE_C | ( | stream, | |
classname, | |||
arg | |||
) | (void)0 |
Definition at line 98 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_TRACE_CO | ( | stream, | |
classname, | |||
objectname, | |||
arg | |||
) | (void)0 |
Definition at line 110 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_WARNING | ( | stream, | |
arg | |||
) | SLOGGING_LOG(stream, ::icl_core::logging::eLL_WARNING, arg) |
Definition at line 79 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_WARNING_C | ( | stream, | |
classname, | |||
arg | |||
) | SLOGGING_LOG_C(stream, ::icl_core::logging::eLL_WARNING, classname, arg) |
Definition at line 91 of file LoggingMacros_SLOGGING.h.
#define SLOGGING_WARNING_CO | ( | stream, | |
classname, | |||
objectname, | |||
arg | |||
) | SLOGGING_LOG_CO(stream, ::icl_core::logging::eLL_WARNING, classname, objectname, arg) |
Definition at line 103 of file LoggingMacros_SLOGGING.h.