#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) |
Log text to file. More... | |
Operations | |
void | enable () |
Enable logger for logging. More... | |
void | disable () |
Disable logging. More... | |
Static Public Attributes | |
Attributes | |
static std::vector< Logger * > | instances |
Pointers to currently enabled logger. More... | |
static Mutex | mutex |
Logger mutex object. More... | |
File logger.