MMCore 10.1.1
mmcore::internal::LogManager Class Reference

#include <LogManager.h>

Public Types

typedef int LogFileHandle

Public Member Functions

void SetUseStdErr (bool flag)
bool IsUsingStdErr () const
void SetPrimaryLogFilename (const std::string &filename, bool truncate)
std::string GetPrimaryLogFilename () const
bool IsUsingPrimaryLogFile () const
void SetPrimaryLogRotation (std::size_t maxFileSize, int maxBackupFiles)
void SetLogLevels (LogLevel level, bool setPrimary, bool setStderr)
LogLevel GetPrimaryLogLevel () const
LogLevel GetStderrLogLevel () const
LogFileHandle AddSecondaryLogFile (LogLevel level, const std::string &filename, bool truncate=true, logging::SinkMode mode=logging::SinkModeAsynchronous)
void RemoveSecondaryLogFile (LogFileHandle handle)
logging::Logger NewLogger (const std::string &label)

Detailed Description

Facade to the logging subsystem.


The documentation for this class was generated from the following files: