47 #ifndef _MIRA_LOGFILESINK_H_ 48 #define _MIRA_LOGFILESINK_H_ 122 int logFileRotationDepth = 0,
123 bool useDailyLogFiles =
false,
130 virtual void consume(
const LogRecord& record);
133 void prepareFileStream();
135 boost::gregorian::date getDateForDailyLogFile();
137 std::string makeDateStr(boost::gregorian::date& date);
141 std::ofstream mStream;
144 std::string mLogFilePrefix;
147 int mFileRotationDepth;
157 boost::gregorian::date mCurrentDailyLogFileDate;
Holds all the information about a log entry.
Definition: LoggingCore.h:107
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
Core class of the logging library.
Use this class to represent time durations.
Definition: Time.h:104
Abstract base class for all log sinks.
Definition: LoggingCore.h:208
A logging sink for file, which supports log file rotation and daily log files.
Definition: LogFileSink.h:117