Webmaster  |  Imprint 
C++ Server Pages
Main  |  License  |  Documentation  |  Download 

/home/tommi/cxxtools/include/cxxtools/log.h

00001 /* cxxtools/log.h
00002  *
00003  * cxxtools - general purpose C++-toolbox
00004  * Copyright (C) 2003, Tommi Maekitalo
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00019  *
00020  */
00021 
00022 #ifndef CXXTOOLS_LOG_H
00023 #define CXXTOOLS_LOG_H
00024 
00025 #if defined(_WIN32) || defined(WIN32)
00026     #define CXXTOOLS_LOG_DISABLE
00027 #endif
00028 
00029 #if  !defined(CXXTOOLS_LOG_LOG4CXX) \
00030   && !defined(CXXTOOLS_LOG_LOG4CPLUS) \
00031   && !defined(CXXTOOLS_LOG_LOGBUILTIN) \
00032   && !defined(CXXTOOLS_LOG_DISABLE)
00033 #  include <cxxtools/config.h>
00034 #endif
00035 
00036 
00037 #ifdef CXXTOOLS_LOG_LOG4CXX
00038 # include <cxxtools/log/log4cxx.h>
00039 #endif
00040 
00041 
00042 #ifdef CXXTOOLS_LOG_LOG4CPLUS
00043 # include <cxxtools/log/log4cplus.h>
00044 #endif
00045 
00046 
00047 #ifdef CXXTOOLS_LOG_LOGBUILTIN
00048 # include <cxxtools/log/cxxtools.h>
00049 #endif
00050 
00051 
00052 #ifdef CXXTOOLS_LOG_DISABLE
00053 # include <cxxtools/log/disable.h>
00054 #endif
00055 
00056 
00057 #endif // LOG_H
Copyright © 2008 The Tntnet Development Team
Tntnet 1.6