#include <log4cpp/Category.hh>
#include <QString>
Go to the source code of this file.
void initializeLogging |
( |
const QString & |
name, |
|
|
const QString & |
filename, |
|
|
bool |
isDebug |
|
) |
| |
Definition at line 21 of file Logger.cpp.
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));
44 mainCat = &Category::getRoot ();
void setConversionPattern(const std::string &conversionPattern)
Noop method for setting the conversion pattern.
void setPriority(Priority::Value priority)
Noop method to set priority.
virtual void setLayout(Layout *layout)=0
Set the layout for this Appender.
log4cpp::Category * mainCat
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.
const QString INDENTATION_DELTA |
const QString INDENTATION_PAST_TIMESTAMP |