#include <log4cplus/logger.h>
#include <log4cplus/loggingmacros.h>
#include <boost/units/detail/utility.hpp>
Go to the source code of this file.
|
| #define | TYPE_NAME(_type) boost::units::detail::demangle(typeid(_type).name()) |
| |
| #define | LOG(_Level, _Msg) |
| |
◆ LOG
| #define LOG |
( |
|
_Level, |
|
|
|
_Msg |
|
) |
| |
Value: do { \
log4cplus::Logger logger = log4cplus::Logger::getRoot(); \
LOG4CPLUS_##_Level(logger, _Msg); \
} while (0)
Definition at line 33 of file logging.h.
◆ TYPE_NAME
| #define TYPE_NAME |
( |
|
_type | ) |
boost::units::detail::demangle(typeid(_type).name()) |
◆ 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, |
|
|
log4cplus::LogLevel |
logLevel |
|
) |
| |
◆ LoggingInit() [3/3]
| void LoggingInit |
( |
const std::string & |
propertyFile | ) |
|
◆ LoggingUseSyslog()
| bool LoggingUseSyslog |
( |
| ) |
|
◆ SetLoggingDisabled()
| void SetLoggingDisabled |
( |
bool |
flag | ) |
|
◆ SetLoggingLevel()
| void SetLoggingLevel |
( |
log4cplus::LogLevel |
logLevel | ) |
|
◆ SetUseSysLog()
| void SetUseSysLog |
( |
bool |
use_syslog | ) |
|