Engauge Digitizer  2
Logger.h
Go to the documentation of this file.
1 /******************************************************************************************************
2  * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5  ******************************************************************************************************/
6 
7 #ifndef LOGGER_H
8 #define LOGGER_H
9 
10 #include <log4cpp/Category.hh>
11 #include <QString>
12 
14 
15 extern void initializeLogging (const QString &name,
16  const QString &filename,
17  bool isDebug);
18 
19 // ##:##:##.### is skipped to cutting lines to remove dates does not remove any of the transform numbers
20 extern const QString INDENTATION_PAST_TIMESTAMP;
21 
22 // Indentation increments between successive levels of indentation
23 extern const QString INDENTATION_DELTA;
24 
25 #endif // LOGGER_H
Noop class that mimics class of the same name in log4cpp library.
Definition: Category.hh:14
const QString INDENTATION_DELTA
log4cpp::Category * mainCat
Definition: Logger.cpp:14
void initializeLogging(const QString &name, const QString &filename, bool isDebug)
Definition: Logger.cpp:21
const QString INDENTATION_PAST_TIMESTAMP