00001 // ===================================================================================== 00002 // Filename: InputLogger.cpp 00003 // Description: 00004 // Version: 1.0 00005 // Created: 02/16/2007 09:39:50 PM EST 00006 // Revision: none 00007 // Compiler: gcc 3.4.6 00008 // 00009 // Author: John P. Feltz 00010 // Email: jfeltz@gmail.com 00011 // License: Copyright (c) 2006-2007, John P. Feltz 00012 // This program is free software; you can redistribute it and/or 00013 // modify it under the terms of the GNU General Public License as 00014 // published by the Free Software Foundation, version 2 of the 00015 // License. 00016 // This program is distributed in the hope that it will be 00017 // useful, but WITHOUT ANY WARRANTY; without even the implied 00018 // warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00019 // PURPOSE. 00020 // See the GNU General Public License version 2 for more details. 00021 // 00022 // ===================================================================================== 00023 00024 #include <iostream> 00025 #include "Singleton.h" 00026 #include "Logger.h" 00027 00028 void LogManager::setDebugOption(bool debug) { 00029 m_log_debug = debug; 00030 } 00031 00032 void LogManager::setErrorOption(bool errors) { 00033 m_log_debug = errors; 00034 } 00035