libzypp  17.23.8
ZYPP_BASE_LOGGER_MACROS

Convenience macros for logging. More...

Convenience macros for logging.

The macros finaly call getStream, providing appropriate arguments, to return the log stream.

L_DBG("foo") << ....

Logs a debug message for group "foo".

#undef ZYPP_BASE_LOGGER_LOGGROUP
#define ZYPP_BASE_LOGGER_LOGGROUP "foo"
DBG << ....

Defines group "foo" as default for log messages and logs a debug message.

L_DBG
#define L_DBG(GROUP)
Definition: Logger.h:87
DBG
#define DBG
Definition: Logger.h:78