00001 /****************************************************************************************************** 00002 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released * 00003 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file * 00004 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. * 00005 ******************************************************************************************************/ 00006 00007 #ifndef LOGGER_H 00008 #define LOGGER_H 00009 00010 #include <log4cpp/Category.hh> 00011 #include <QString> 00012 00013 extern log4cpp::Category *mainCat; 00014 00015 extern void initializeLogging (const QString &name, 00016 const QString &filename, 00017 bool isDebug); 00018 00019 // ##:##:##.### is skipped to cutting lines to remove dates does not remove any of the transform numbers 00020 extern const QString INDENTATION_PAST_TIMESTAMP; 00021 00022 // Indentation increments between successive levels of indentation 00023 extern const QString INDENTATION_DELTA; 00024 00025 #endif // LOGGER_H