27 #ifndef Common_Cronolog_h
28 #define Common_Cronolog_h
67 Cronolog(
const string &name,
const string ¤t_dir,
const string &archive_dir);
84 void write(time_t now,
const string &line);
102 void roll(time_t now);
127 #endif // Common_Cronolog_h
string m_name
Basename of log file.
string m_current_dir
Directory containing current symlink of log file.
mutex m_mutex
Mutex for serializing access to member variables
string m_archive_dir
Directory containing log archives.
time_t m_roll_time
Time (seconds since Epoch) when next roll is required.