#include "base/logging.h"
#include <sys/types.h>
#include <unistd.h>
#include <log4cplus/helpers/pointer.h>
#include <log4cplus/configurator.h>
#include <log4cplus/fileappender.h>
#include <log4cplus/syslogappender.h>
#include <boost/format.hpp>
#include <boost/algorithm/string/predicate.hpp>
Go to the source code of this file.
◆ CheckEnvironmentAndUpdate()
void CheckEnvironmentAndUpdate |
( |
| ) |
|
◆ LoggingDisabled()
◆ LoggingInit() [1/3]
◆ LoggingInit() [2/3]
void LoggingInit |
( |
const std::string & |
filename, |
|
|
long |
maxFileSize, |
|
|
int |
maxBackupIndex, |
|
|
bool |
useSyslog, |
|
|
const std::string & |
syslogFacility, |
|
|
const std::string & |
ident, |
|
|
LogLevel |
logLevel |
|
) |
| |
◆ LoggingInit() [3/3]
void LoggingInit |
( |
const std::string & |
propertyFile | ) |
|
◆ LoggingUseSyslog()
bool LoggingUseSyslog |
( |
| ) |
|
◆ SetLoggingDisabled()
void SetLoggingDisabled |
( |
bool |
flag | ) |
|
◆ SetLoggingLevel()
void SetLoggingLevel |
( |
LogLevel |
logLevel | ) |
|
◆ SetUseSysLog()
void SetUseSysLog |
( |
bool |
use_syslog | ) |
|
◆ disabled_
◆ loggingPattern
const char* loggingPattern |
|
static |
Initial value:= "%D{%Y-%m-%d %a %H:%M:%S:%Q %Z} "
" %h [Thread %t, Pid %i]: %m%n"
Definition at line 21 of file logging.cc.
◆ use_syslog_