liblogger/liblogger_config.h

Go to the documentation of this file.
00001 /*
00002  * liblogger - copyright 2007, Vineeth Neelakant, nvineeth@gmail.com
00003  * This file is part of liblogger.
00004  *
00005  * liblogger is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU Lesser General Public License as published by
00007  * the Free Software Foundation; either version 3 of the License, or
00008  * (at your option) any later version.
00009  * 
00010  * liblogger is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU Lesser General Public License for more details.
00014  * 
00015  * You should have received a copy of the GNU Lesser General Public License
00016  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00017  */
00018 #ifndef __LIBLOGGER_CONFIG_H__
00019 #define __LIBLOGGER_CONFIG_H__
00020 
00021 /** define this macro to disable all logs */
00022 //#define DISABLE_ALL_LOGS
00023 
00024 /** Define this macro to prevent checking the variadic macro support of your compiler.
00025  * By defining this macro, you can also stop the filenames, function name, and the line no
00026  * from appearing in the logs.
00027  * */
00028 //#define DISABLE_VARIADIC_CHECK
00029 
00030 /** Define this macro to forcefully enable the varadic macro support. This can lead to compile time
00031  * errors if the compiler doesnot support variadic macros.*/
00032 //#define ASSUME_VARIADIC_SUPPORT
00033 
00034 /** Define this macro to prevent filenames from appearing in the logs. This is useful if the filenames are very long
00035  * and their presence is not desired in the logs.
00036  * */
00037 //#define DISABLE_FILENAMES
00038 
00039 #endif // __LIBLOGGER_CONFIG_H__

liblogger © 2007 - SourceForge.net Logo