X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=para.h;h=0a14b99a51f0096e979983c9954f9617ea669097;hb=1d5d66070093bcac96de40dd6bced93ab7bc15a8;hp=3b9559e1beb93062c7cd7cb1cd0daace402b85ae;hpb=0703f75a276020f9645f987134d49402f7c019c0;p=paraslash.git 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;