libzypp: ZYPP_BASE_LOGGER_MACROS

libzypp 17.38.14

ZYPP_BASE_LOGGER_MACROS

Convenience macros for logging.

Convenience macros for logging.

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

L_DBG("foo") << ....
L_DBG
#define L_DBG(GROUP)
Definition Logger.h:111

Logs a debug message for group "foo".

#undef ZYPP_BASE_LOGGER_LOGGROUP
#define ZYPP_BASE_LOGGER_LOGGROUP "foo"
DBG << ....
DBG
#define DBG
Definition Logger.h:102

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