#include <cstring>
#include <iosfwd>
#include <string>
#include <zypp/Globals.h>
Go to the source code of this file.
◆ TRACE
◆ XTRACE
◆ OSD
◆ ZYPP_BASE_LOGGER_LOGGROUP
      
        
          | #define ZYPP_BASE_LOGGER_LOGGROUP   "DEFINE_LOGGROUP" | 
      
 
Default log group if undefined. 
Definition at line 95 of file Logger.h.
 
 
◆ XXX
◆ DBG
◆ MIL
◆ WAR
◆ ERR
◆ SEC
◆ INT
◆ USR
◆ L_XXX
Value:
@ E_XXX
Excessive logging.
#define ZYPP_BASE_LOGGER_LOG(GROUP, LEVEL)
Actual call to getStream.
 
Definition at line 107 of file Logger.h.
 
 
◆ L_DBG
◆ L_MIL
◆ L_WAR
◆ L_ERR
◆ L_SEC
Value:
@ E_SEC
Secutrity related.
 
Definition at line 112 of file Logger.h.
 
 
◆ L_INT
◆ L_USR
◆ L_ENV_CONSTR_DEFINE_FUNC
      
        
          | #define L_ENV_CONSTR_DEFINE_FUNC | ( |  | ENV | ) |  | 
      
 
Value:
      bool has_env_constr_##ENV () \
      { \
          static bool has_##ENV = (::getenv(#ENV) != NULL); \
          return has_##ENV; \
      } \
      const char *empty_or_group_if_##ENV ( const char *group ) \
      { \
        return has_env_constr_##ENV() ? group : nullptr; \
      } \
    }
 
Definition at line 117 of file Logger.h.
 
 
◆ L_ENV_CONSTR_FWD_DECLARE_FUNC
      
        
          | #define L_ENV_CONSTR_FWD_DECLARE_FUNC | ( |  | ENV | ) |  | 
      
 
Value:namespace zypp::log { 
bool has_env_constr_##ENV (); 
const char *empty_or_group_if_##ENV ( 
const char *group ); }
 
Definition at line 130 of file Logger.h.
 
 
◆ L_ENV_CONSTR
      
        
          | #define L_ENV_CONSTR | ( |  | ENV, | 
        
          |  |  |  | GROUP, | 
        
          |  |  |  | LEVEL ) | 
      
 
 
◆ L_BASEFILE
      
        
          | #define L_BASEFILE   ( *__FILE__ == '/' ? strrchr( __FILE__, '/' ) + 1 : __FILE__ ) | 
      
 
 
◆ ZYPP_BASE_LOGGER_LOG
      
        
          | #define ZYPP_BASE_LOGGER_LOG | ( |  | GROUP, | 
        
          |  |  |  | LEVEL ) | 
      
 
Value:
std::ostream & getStream(const char *group_r, LogLevel level_r, const char *file_r, const char *func_r, const int line_r)
Return a log stream to write on.
 
Actual call to getStream. 
Definition at line 136 of file Logger.h.