Macros
LoggingMacros_SLOGGING.h File Reference

Defines SLOGGING logging macros. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#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)
 

Detailed Description

Defines SLOGGING logging macros.

Author
Klaus Uhl uhl@f.nosp@m.zi.d.nosp@m.e
Date
2010-04-27

These logging macros require a log stream object as their first argument.

Definition in file LoggingMacros_SLOGGING.h.

Macro Definition Documentation

#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 
)
Value:
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)
Implements the actual logging for an individual thread.
Definition: ThreadStream.h:58
void setLineLogLevel(icl_core::logging::LogLevel line_log_level)

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.



fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:58