ZeroErr
zeroerr::DirectoryLogger Class Reference
Inheritance diagram for zeroerr::DirectoryLogger:
Collaboration diagram for zeroerr::DirectoryLogger:

Public Member Functions

 DirectoryLogger (std::string path, LogStream::DirMode dir_mode[3])
 
 ~DirectoryLogger ()
 
void flush (DataBlock *msg) override
 
- Public Member Functions inherited from zeroerr::Logger
virtual ~Logger ()=default
 

Protected Member Functions

std::string to_string (LogSeverity severity)
 
std::string to_category (const char *category)
 

Protected Attributes

LogStream::DirMode dir_mode [3]
 
std::string dirpath
 

Constructor & Destructor Documentation

◆ DirectoryLogger()

zeroerr::DirectoryLogger::DirectoryLogger ( std::string  path,
LogStream::DirMode  dir_mode[3] 
)
inline

◆ ~DirectoryLogger()

zeroerr::DirectoryLogger::~DirectoryLogger ( )
inline

Member Function Documentation

◆ flush()

void zeroerr::DirectoryLogger::flush ( DataBlock msg)
inlineoverridevirtual

Implements zeroerr::Logger.

◆ to_category()

std::string zeroerr::DirectoryLogger::to_category ( const char *  category)
inlineprotected

◆ to_string()

std::string zeroerr::DirectoryLogger::to_string ( LogSeverity  severity)
inlineprotected

Member Data Documentation

◆ dir_mode

LogStream::DirMode zeroerr::DirectoryLogger::dir_mode[3]
protected

◆ dirpath

std::string zeroerr::DirectoryLogger::dirpath
protected

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