22 const QString &filename,
27 const size_t MAX_FILE_SIZE_BYTES = 6 * 1024 * 1024;
28 const unsigned int MAX_BACKUP_INDEX = 2;
29 const bool APPEND_TO_PREVIOUS_FILE =
false;
33 filename.toStdString (),
36 APPEND_TO_PREVIOUS_FILE));
56 mainCat->addAppender (appender);
log4cpp::Category * mainCat
void initializeLogging(const QString &name, const QString &filename, bool isDebug)
const QString INDENTATION_DELTA
const QString INDENTATION_PAST_TIMESTAMP
Noop class that mimics class of the same name in log4cpp library.
static Category & getRoot()
Noop method to get root.
Noop class that mimics the same class in the log4cpp library.
virtual void setLayout(Layout *layout)=0
Set the layout for this Appender.
Noop class that mimics the same class in the log4cpp library.
void setConversionPattern(const std::string &conversionPattern)
Noop method for setting the conversion pattern.
Noop class that mimics the same class in the log4cpp library.