CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
helper_log.h
Go to the documentation of this file.
1 
5 #ifndef CVMFS_AUTHZ_HELPER_LOG_H_
6 #define CVMFS_AUTHZ_HELPER_LOG_H_
7 
8 #include <string>
9 
10 const unsigned kLogAuthzDebug = 0x01;
11 const unsigned kLogAuthzSyslog = 0x02;
12 const unsigned kLogAuthzSyslogWarn = 0x04;
13 const unsigned kLogAuthzSyslogErr = 0x08;
14 
15 void SetLogAuthzDebug(const std::string &path);
16 void SetLogAuthzSyslogLevel(const int level);
17 void SetLogAuthzSyslogFacility(const int local_facility);
18 void SetLogAuthzSyslogPrefix(const std::string &prefix);
19 void LogAuthz(const int flags, const char *format, ...);
20 
21 #endif // CVMFS_AUTHZ_HELPER_LOG_H_
const unsigned kLogAuthzDebug
Definition: helper_log.h:10
void SetLogAuthzSyslogPrefix(const string &prefix)
Definition: helper_log.cc:95
const unsigned kLogAuthzSyslog
Definition: helper_log.h:11
const unsigned kLogAuthzSyslogErr
Definition: helper_log.h:13
void SetLogAuthzSyslogFacility(const int local_facility)
Definition: helper_log.cc:63
void SetLogAuthzDebug(const string &path)
Definition: helper_log.cc:30
const unsigned kLogAuthzSyslogWarn
Definition: helper_log.h:12
const int const char * format
Definition: logging.h:23
void LogAuthz(const int flags, const char *format,...)
Definition: helper_log.cc:111
void SetLogAuthzSyslogLevel(const int level)
Definition: helper_log.cc:45