X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Flog.h;h=529b164044bacf6fc2055c35203205a8c9d024ff;hp=a49375f4f51c089678424af3a26d94885cd92168;hb=0e4e22a7a671d1e8efbc44bffd80062191f75c38;hpb=de395db8e3064919bbeaeb8344bf84f9566fb48b diff --git a/src/ngircd/log.h b/src/ngircd/log.h index a49375f4..529b1640 100644 --- a/src/ngircd/log.h +++ b/src/ngircd/log.h @@ -8,7 +8,7 @@ * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. * - * $Id: log.h,v 1.18 2005/06/24 19:55:10 alex Exp $ + * $Id: log.h,v 1.20 2006/08/05 09:16:21 fw Exp $ * * Logging functions (header) */ @@ -40,6 +40,13 @@ GLOBAL void Log_Exit PARAMS(( void )); GLOBAL void Log PARAMS(( int Level, const char *Format, ... )); +#ifdef DEBUG +GLOBAL void LogDebug PARAMS(( const char *Format, ... )); +#else +static inline void LogDebug PARAMS(( UNUSED const char *Format, ... )){/* Do nothing. The compiler should optimize this out, please ;-) */} +#endif + + GLOBAL void Log_Init_Resolver PARAMS(( void )); GLOBAL void Log_Exit_Resolver PARAMS(( void ));