null_logger.cpp

Go to the documentation of this file.
00001 #ifndef NULL_LOGGER_IMPLEMENTATION_FILE
00002 #define NULL_LOGGER_IMPLEMENTATION_FILE
00003 
00004 /*****************************************************************************\
00005 *                                                                             *
00006 *  Name   : null_logger                                                       *
00007 *  Author : Chris Koeritz                                                     *
00008 *                                                                             *
00009 *******************************************************************************
00010 * Copyright (c) 2001-$now By Author.  This program is free software; you can  *
00011 * redistribute it and/or modify it under the terms of the GNU General Public  *
00012 * License as published by the Free Software Foundation; either version 2 of   *
00013 * the License or (at your option) any later version.  This is online at:      *
00014 *     http://www.fsf.org/copyleft/gpl.html                                    *
00015 * Please send any updates to: fred@gruntose.com                               *
00016 \*****************************************************************************/
00017 
00018 #include "null_logger.h"
00019 
00020 null_logger::~null_logger() {}
00021 
00022 outcome null_logger::log(const istring &formal(info), int formal(filter))
00023 { return common::OKAY; }
00024 
00025 #ifndef OMIT_PROGRAM_WIDE_LOGGER
00026 log_base *set_PW_logger_for_null()
00027 {
00028   null_logger *new_pw = new null_logger;
00029   return retask_program_wide_logger(new_pw);
00030 }
00031 #endif
00032 
00033 
00034 #endif //NULL_LOGGER_IMPLEMENTATION_FILE
00035 

Generated on Fri Nov 28 04:29:16 2008 for HOOPLE Libraries by  doxygen 1.5.1