Fawkes API Fawkes Development Version
|
00001 00002 /*************************************************************************** 00003 * employer.cpp - Fawkes logger employer 00004 * 00005 * Created: Wed Feb 11 22:28:15 2009 00006 * Copyright 2006-2009 Tim Niemueller [www.niemueller.de] 00007 * 00008 ****************************************************************************/ 00009 00010 /* This program is free software; you can redistribute it and/or modify 00011 * it under the terms of the GNU General Public License as published by 00012 * the Free Software Foundation; either version 2 of the License, or 00013 * (at your option) any later version. A runtime exception applies to 00014 * this software (see LICENSE.GPL_WRE file mentioned below for details). 00015 * 00016 * This program is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 * GNU Library General Public License for more details. 00020 * 00021 * Read the full text in the LICENSE.GPL_WRE file in the doc directory. 00022 */ 00023 00024 #include <aspect/logger/employer.h> 00025 00026 namespace fawkes { 00027 00028 /** @class LoggerEmployer <aspect/logger/employer.h> 00029 * Logger employer 00030 * The LoggerEmployer shall pipe all log messages of the system to added 00031 * loggers. 00032 * @author Tim Niemueller 00033 * 00034 * @fn void LoggerEmployer::add_logger(fawkes::Logger *logger) 00035 * Add a new logger. 00036 * An exception should be thrown if anything prevents this from succeeding. 00037 * @param logger logger to add 00038 * 00039 * @fn void LoggerEmployer::remove_logger(fawkes::Logger *logger) 00040 * Remove a logger. 00041 * An exception should be thrown if anything prevents this from succeeding. 00042 * @param logger logger to remove 00043 */ 00044 00045 /** Virtual empty destructor. */ 00046 LoggerEmployer::~LoggerEmployer() 00047 { 00048 } 00049 00050 } // end of namespace fawkes