Macros
LoggingMacros_MLOGGING.h File Reference

Defines MLOGGING logging macros. More...

#include "icl_core_logging/LoggingMacros_SLOGGING.h"
Include dependency graph for LoggingMacros_MLOGGING.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MLOGGING_DEBUG(streamname, arg)   (void)0
 
#define MLOGGING_DEBUG_C(streamname, classname, arg)   (void)0
 
#define MLOGGING_DEBUG_CO(streamname, classname, objectname, arg)   (void)0
 
#define MLOGGING_ERROR(streamname, arg)   MLOGGING_LOG(streamname, ::icl_core::logging::eLL_ERROR, arg)
 
#define MLOGGING_ERROR_C(streamname, classname, arg)   MLOGGING_LOG_C(streamname, ::icl_core::logging::eLL_ERROR, classname, arg)
 
#define MLOGGING_ERROR_CO(streamname, classname, objectname, arg)   MLOGGING_LOG_COF(streamname, ::icl_core::logging::eLL_ERROR, classname, objectname, function, arg)
 
#define MLOGGING_INFO(streamname, arg)   MLOGGING_LOG(streamname, ::icl_core::logging::eLL_INFO, arg)
 
#define MLOGGING_INFO_C(streamname, classname, arg)   MLOGGING_LOG_C(streamname, ::icl_core::logging::eLL_INFO, classname, arg)
 
#define MLOGGING_INFO_CO(streamname, classname, objectname, arg)   MLOGGING_LOG_COF(streamname, ::icl_core::logging::eLL_INFO, classname, objectname, function, arg)
 
#define MLOGGING_LOG(streamname, level, arg)   MLOGGING_LOG_FLCO(streamname, level, __FILE__, __LINE__, "", "", arg)
 
#define MLOGGING_LOG_C(streamname, level, classname, arg)   MLOGGING_LOG_FLCO(streamname, level, __FILE__, __LINE__, #classname, "", arg)
 
#define MLOGGING_LOG_COF(streamname, level, classname, objectname, function, arg)   MLOGGING_LOG_FLCO(streamname, level, __FILE__, __LINE__, #classname, objectname, arg)
 
#define MLOGGING_LOG_FLCO(streamname, level, filename, line, classname, objectname, arg)
 
#define MLOGGING_TRACE(streamname, arg)   (void)0
 
#define MLOGGING_TRACE_C(streamname, classname, arg)   (void)0
 
#define MLOGGING_TRACE_CO(streamname, classname, objectname, arg)   (void)0
 
#define MLOGGING_WARNING(streamname, arg)   MLOGGING_LOG(streamname, ::icl_core::logging::eLL_WARNING, arg)
 
#define MLOGGING_WARNING_C(streamname, classname, arg)   MLOGGING_LOG_C(streamname, ::icl_core::logging::eLL_WARNING, classname, arg)
 
#define MLOGGING_WARNING_CO(streamname, classname, objectname, arg)   MLOGGING_LOG_COF(streamname, ::icl_core::logging::eLL_WARNING, classname, objectname, function, arg)
 

Detailed Description

Defines MLOGGING logging macros.

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

These logging macros require that a Debug() function is callable from the context, from where the macros are called. Log messages are only output if the Debug() function returns true.

Definition in file LoggingMacros_MLOGGING.h.

Macro Definition Documentation

#define MLOGGING_DEBUG (   streamname,
  arg 
)    (void)0

Definition at line 53 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_DEBUG_C (   streamname,
  classname,
  arg 
)    (void)0

Definition at line 65 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_DEBUG_CO (   streamname,
  classname,
  objectname,
  arg 
)    (void)0

Definition at line 77 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_ERROR (   streamname,
  arg 
)    MLOGGING_LOG(streamname, ::icl_core::logging::eLL_ERROR, arg)

Definition at line 46 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_ERROR_C (   streamname,
  classname,
  arg 
)    MLOGGING_LOG_C(streamname, ::icl_core::logging::eLL_ERROR, classname, arg)

Definition at line 58 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_ERROR_CO (   streamname,
  classname,
  objectname,
  arg 
)    MLOGGING_LOG_COF(streamname, ::icl_core::logging::eLL_ERROR, classname, objectname, function, arg)

Definition at line 70 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_INFO (   streamname,
  arg 
)    MLOGGING_LOG(streamname, ::icl_core::logging::eLL_INFO, arg)

Definition at line 48 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_INFO_C (   streamname,
  classname,
  arg 
)    MLOGGING_LOG_C(streamname, ::icl_core::logging::eLL_INFO, classname, arg)

Definition at line 60 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_INFO_CO (   streamname,
  classname,
  objectname,
  arg 
)    MLOGGING_LOG_COF(streamname, ::icl_core::logging::eLL_INFO, classname, objectname, function, arg)

Definition at line 72 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_LOG (   streamname,
  level,
  arg 
)    MLOGGING_LOG_FLCO(streamname, level, __FILE__, __LINE__, "", "", arg)

Definition at line 43 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_LOG_C (   streamname,
  level,
  classname,
  arg 
)    MLOGGING_LOG_FLCO(streamname, level, __FILE__, __LINE__, #classname, "", arg)

Definition at line 42 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_LOG_COF (   streamname,
  level,
  classname,
  objectname,
  function,
  arg 
)    MLOGGING_LOG_FLCO(streamname, level, __FILE__, __LINE__, #classname, objectname, arg)

Definition at line 41 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_LOG_FLCO (   streamname,
  level,
  filename,
  line,
  classname,
  objectname,
  arg 
)
Value:
do { \
if (Debug()) \
{ \
::icl_core::logging::LogStream& stream = streamname::instance(); \
SLOGGING_LOG_FLCO(stream, level, filename, line, classname, objectname, arg); \
} \
} while (0)
Implements a thread-safe logging framework.
Definition: LogStream.h:54
#define SLOGGING_LOG_FLCO(stream, level, filename, line, classname, objectname, arg)

Definition at line 33 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_TRACE (   streamname,
  arg 
)    (void)0

Definition at line 54 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_TRACE_C (   streamname,
  classname,
  arg 
)    (void)0

Definition at line 66 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_TRACE_CO (   streamname,
  classname,
  objectname,
  arg 
)    (void)0

Definition at line 78 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_WARNING (   streamname,
  arg 
)    MLOGGING_LOG(streamname, ::icl_core::logging::eLL_WARNING, arg)

Definition at line 47 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_WARNING_C (   streamname,
  classname,
  arg 
)    MLOGGING_LOG_C(streamname, ::icl_core::logging::eLL_WARNING, classname, arg)

Definition at line 59 of file LoggingMacros_MLOGGING.h.

#define MLOGGING_WARNING_CO (   streamname,
  classname,
  objectname,
  arg 
)    MLOGGING_LOG_COF(streamname, ::icl_core::logging::eLL_WARNING, classname, objectname, function, arg)

Definition at line 71 of file LoggingMacros_MLOGGING.h.



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