ifm3d
|
Public Member Functions | |
LogWriterFile (const std::string &file_name, size_t max_size=0, int keep_files=0) | |
void | SetFileName (const std::string &file_name) |
void | SetKeepFiles (int keep_files) |
void | SetMaxSize (size_t max_size) |
void | Write (const LogEntry &entry) override |
Protected Attributes | |
std::mutex | mutex_ |
std::string | file_stem_ |
std::string | file_ext_ |
std::ofstream | file_ |
size_t | file_size_ |
size_t | max_size_ |
size_t | keep_files_ |
bool | firstWrite_ |