ifm3d
ifm3d::LogWriterFile< Formatter > Class Template Reference

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_
 

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