Defines
LoggingMacros_SLOGGING_FMT.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define SLOGGING_FMT_DEBUG(stream,...)   (void)0
#define SLOGGING_FMT_DEBUG_C(stream, classname,...)   (void)0
#define SLOGGING_FMT_DEBUG_CO(stream, classname, objectname,...)   (void)0
#define SLOGGING_FMT_ERROR(stream,...)   SLOGGING_FMT_LOG(stream, ::icl_core::logging::eLL_ERROR, __VA_ARGS__)
#define SLOGGING_FMT_ERROR_C(stream, classname,...)   SLOGGING_FMT_LOG_C(stream, ::icl_core::logging::eLL_ERROR, classname, __VA_ARGS__)
#define SLOGGING_FMT_ERROR_CO(stream, classname, objectname,...)   SLOGGING_FMT_LOG_CO(stream, ::icl_core::logging::eLL_ERROR, classname, objectname, __VA_ARGS__)
#define SLOGGING_FMT_INFO(stream,...)   SLOGGING_FMT_LOG(stream, ::icl_core::logging::eLL_INFO, __VA_ARGS__)
#define SLOGGING_FMT_INFO_C(stream, classname,...)   SLOGGING_FMT_LOG_C(stream, ::icl_core::logging::eLL_INFO, classname, __VA_ARGS__)
#define SLOGGING_FMT_INFO_CO(stream, classname, objectname,...)   SLOGGING_FMT_LOG_CO(stream, ::icl_core::logging::eLL_INFO, classname, objectname, __VA_ARGS__)
#define SLOGGING_FMT_LOG(stream, level,...)   SLOGGING_FMT_LOG_FLCO(stream, level, __FILE__, __LINE__, "", "", __VA_ARGS__)
#define SLOGGING_FMT_LOG_C(stream, level, classname,...)   SLOGGING_FMT_LOG_FLCO(stream, level, __FILE__, __LINE__, #classname, "", __VA_ARGS__)
#define SLOGGING_FMT_LOG_CO(stream, level, classname, objectname,...)   SLOGGING_FMT_LOG_FLCO(stream, level, __FILE__, __LINE__, #classname, objectname, __VA_ARGS__)
#define SLOGGING_FMT_LOG_FLCO(stream, level, filename, line, classname, objectname,...)
#define SLOGGING_FMT_TRACE(stream,...)   (void)0
#define SLOGGING_FMT_TRACE_C(stream, classname,...)   (void)0
#define SLOGGING_FMT_TRACE_CO(stream, classname, objectname,...)   (void)0
#define SLOGGING_FMT_WARNING(stream,...)   SLOGGING_FMT_LOG(stream, ::icl_core::logging::eLL_WARNING, __VA_ARGS__)
#define SLOGGING_FMT_WARNING_C(stream, classname,...)   SLOGGING_FMT_LOG_C(stream, ::icl_core::logging::eLL_WARNING, classname, __VA_ARGS__)
#define SLOGGING_FMT_WARNING_CO(stream, classname, objectname,...)   SLOGGING_FMT_LOG_CO(stream, ::icl_core::logging::eLL_WARNING, classname, objectname, __VA_ARGS__)

Detailed Description

Author:
Klaus Uhl <uhl@fzi.de>
Date:
2011-08-17

Definition in file LoggingMacros_SLOGGING_FMT.h.


Define Documentation

#define SLOGGING_FMT_DEBUG (   stream,
  ... 
)    (void)0

Definition at line 55 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_DEBUG_C (   stream,
  classname,
  ... 
)    (void)0

Definition at line 67 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_DEBUG_CO (   stream,
  classname,
  objectname,
  ... 
)    (void)0

Definition at line 79 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_ERROR (   stream,
  ... 
)    SLOGGING_FMT_LOG(stream, ::icl_core::logging::eLL_ERROR, __VA_ARGS__)

Definition at line 48 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_ERROR_C (   stream,
  classname,
  ... 
)    SLOGGING_FMT_LOG_C(stream, ::icl_core::logging::eLL_ERROR, classname, __VA_ARGS__)

Definition at line 60 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_ERROR_CO (   stream,
  classname,
  objectname,
  ... 
)    SLOGGING_FMT_LOG_CO(stream, ::icl_core::logging::eLL_ERROR, classname, objectname, __VA_ARGS__)

Definition at line 72 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_INFO (   stream,
  ... 
)    SLOGGING_FMT_LOG(stream, ::icl_core::logging::eLL_INFO, __VA_ARGS__)

Definition at line 50 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_INFO_C (   stream,
  classname,
  ... 
)    SLOGGING_FMT_LOG_C(stream, ::icl_core::logging::eLL_INFO, classname, __VA_ARGS__)

Definition at line 62 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_INFO_CO (   stream,
  classname,
  objectname,
  ... 
)    SLOGGING_FMT_LOG_CO(stream, ::icl_core::logging::eLL_INFO, classname, objectname, __VA_ARGS__)

Definition at line 74 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_LOG (   stream,
  level,
  ... 
)    SLOGGING_FMT_LOG_FLCO(stream, level, __FILE__, __LINE__, "", "", __VA_ARGS__)

Definition at line 45 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_LOG_C (   stream,
  level,
  classname,
  ... 
)    SLOGGING_FMT_LOG_FLCO(stream, level, __FILE__, __LINE__, #classname, "", __VA_ARGS__)

Definition at line 44 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_LOG_CO (   stream,
  level,
  classname,
  objectname,
  ... 
)    SLOGGING_FMT_LOG_FLCO(stream, level, __FILE__, __LINE__, #classname, objectname, __VA_ARGS__)

Definition at line 43 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_LOG_FLCO (   stream,
  level,
  filename,
  line,
  classname,
  objectname,
  ... 
)
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.printf(__VA_ARGS__);                              \
      }                                                                 \
    }                                                                   \
  } while (0)

Definition at line 26 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_TRACE (   stream,
  ... 
)    (void)0

Definition at line 56 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_TRACE_C (   stream,
  classname,
  ... 
)    (void)0

Definition at line 68 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_TRACE_CO (   stream,
  classname,
  objectname,
  ... 
)    (void)0

Definition at line 80 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_WARNING (   stream,
  ... 
)    SLOGGING_FMT_LOG(stream, ::icl_core::logging::eLL_WARNING, __VA_ARGS__)

Definition at line 49 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_WARNING_C (   stream,
  classname,
  ... 
)    SLOGGING_FMT_LOG_C(stream, ::icl_core::logging::eLL_WARNING, classname, __VA_ARGS__)

Definition at line 61 of file LoggingMacros_SLOGGING_FMT.h.

#define SLOGGING_FMT_WARNING_CO (   stream,
  classname,
  objectname,
  ... 
)    SLOGGING_FMT_LOG_CO(stream, ::icl_core::logging::eLL_WARNING, classname, objectname, __VA_ARGS__)

Definition at line 73 of file LoggingMacros_SLOGGING_FMT.h.



fzi_icl_core
Author(s):
autogenerated on Thu Jun 6 2019 20:22:25