#include <file_logger.h>
Public Member Functions | |
Construction | |
FileLogger (const std::string &filename) | |
Constructs a file logger. More... | |
~FileLogger () | |
Operations | |
void | log (const std::string &type, const std::string &text) override |
Log text to file. More... | |
![]() | |
Logger () | |
Constructs a logger. More... | |
virtual | ~Logger () |
void | enable () |
Enable logger for logging. More... | |
void | disable () |
Disable logging. More... | |
Additional Inherited Members | |
![]() | |
static std::vector< Logger * > | instances |
Pointers to currently enabled logger. More... | |
static std::recursive_mutex | mutex |
Logger mutex object. More... | |
![]() | |
static StringFormat | get_log_string (const std::string &type, const std::string &text) |
File logger.