7 #include <log4cpp/Category.hh>
8 #include <log4cpp/PatternLayout.hh>
9 #include <log4cpp/PropertyConfigurator.hh>
11 #include <log4cpp/RollingFileAppender.hh>
16 const QString INDENTATION_PAST_TIMESTAMP (
" ");
17 const QString INDENTATION_DELTA (
" ");
19 using namespace log4cpp;
21 void initializeLogging (
const QString &name,
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));
void setConversionPattern(const std::string &conversionPattern)
Noop method for setting the conversion pattern.
Noop class that mimics class of the same name in log4cpp library.
static Category & getRoot()
Noop method to get root.
void setPriority(Priority::Value priority)
Noop method to set priority.
virtual void setLayout(Layout *layout)=0
Set the layout for this Appender.
void addAppender(Appender *appender)
Noop method to add an Appender.
Noop class that mimics the same class in the log4cpp library.
Noop class that mimics the same class in the log4cpp library.
Noop class that mimics the same class in the log4cpp library.