#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) |
|
#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.
#define TYPE_NAME |
( |
|
_type | ) |
boost::units::detail::demangle(typeid(_type).name()) |
void LoggingInit |
( |
const std::string & |
filename, |
|
|
long |
maxFileSize, |
|
|
int |
maxBackupIndex, |
|
|
bool |
useSyslog, |
|
|
const std::string & |
syslogFacility, |
|
|
const std::string & |
ident, |
|
|
log4cplus::LogLevel |
logLevel |
|
) |
| |
void LoggingInit |
( |
const std::string & |
propertyFile | ) |
|
bool LoggingUseSyslog |
( |
| ) |
|
void SetLoggingDisabled |
( |
bool |
flag | ) |
|
void SetLoggingLevel |
( |
log4cplus::LogLevel |
logLevel | ) |
|
void SetUseSysLog |
( |
bool |
| ) |
|