Engauge Digitizer  2
Logger.h
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 
13 extern log4cpp::Category *mainCat;
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