X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=para.h;h=0a14b99a51f0096e979983c9954f9617ea669097;hp=3b9559e1beb93062c7cd7cb1cd0daace402b85ae;hb=c7e2f73900021e5b3f655c91a7cc0fdda76bd0ec;hpb=3e6bba778c867a8977704b5c15e52fa18fb0d900 diff --git a/para.h b/para.h index 3b9559e1..0a14b99a 100644 --- a/para.h +++ b/para.h @@ -71,6 +71,11 @@ extern __printf_2_3 void (*para_log)(int, const char*, ...); vfprintf(stderr, fmt, argp); \ va_end(argp); \ } +/** + * Define the standard log function and activate it. + * + * \param loglevel_barrier See \ref DEFINE_STDERR_LOGGER. + */ #define INIT_STDERR_LOGGING(loglevel_barrier) \ DEFINE_STDERR_LOGGER(stderr_log, loglevel_barrier); \ __printf_2_3 void (*para_log)(int, const char*, ...) = stderr_log;