CernVM-FS  2.9.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:94
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:62
void SetLogAuthzDebug(const string &path)
Definition: helper_log.cc:29
const unsigned kLogAuthzSyslogWarn
Definition: helper_log.h:12
void LogAuthz(const int flags, const char *format,...)
Definition: helper_log.cc:110
void SetLogAuthzSyslogLevel(const int level)
Definition: helper_log.cc:44