#include <Log.h>
Inherits cinder::log::Logger.
LoggerSystem rovides 'system' logging support. Uses syslog on platforms that have it, on MSW uses Windows Event Logging.
- Note
- Does nothing on WinRT.
cinder::log::LoggerSystem::LoggerSystem |
( |
| ) |
|
cinder::log::LoggerSystem::~LoggerSystem |
( |
| ) |
|
|
virtual |
void cinder::log::LoggerSystem::write |
( |
const Metadata & |
meta, |
|
|
const std::string & |
text |
|
) |
| |
|
overridevirtual |
void cinder::log::LoggerSystem::setLoggingLevel |
( |
Level |
minLevel | ) |
|
Sets the minimum logging level that will trigger a system log.
- Note
- Setting
minLevel
below CI_MIN_LOG_LEVEL is pointless; minLevel will act like CI_MIN_LOG_LEVEL.
void cinder::log::Logger::setTimestampEnabled |
( |
bool |
enable = true | ) |
|
|
inherited |
bool cinder::log::Logger::isTimestampEnabled |
( |
| ) |
const |
|
inherited |
void cinder::log::Logger::writeDefault |
( |
std::ostream & |
stream, |
|
|
const Metadata & |
meta, |
|
|
const std::string & |
text |
|
) |
| |
|
protectedinherited |
Level cinder::log::LoggerSystem::mMinLevel |
|
protected |
std::unique_ptr<ImplSysLog> cinder::log::LoggerSystem::mImpl |
|
protected |
The documentation for this class was generated from the following files: