X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilclog.h;h=0819ace625d2f821c45e9383068b757ad9783440;hb=ab9186bc3211a1a940464d5dc9e660d2da3a1923;hp=26a1ca857e74e3f5d62a1c9a83b4810670a3320f;hpb=7c35ac27874b23204fd6bc4fb851085ba756c213;p=silc.git diff --git a/lib/silcutil/silclog.h b/lib/silcutil/silclog.h index 26a1ca85..0819ace6 100644 --- a/lib/silcutil/silclog.h +++ b/lib/silcutil/silclog.h @@ -142,6 +142,22 @@ typedef bool (*SilcLogHexdumpCb)(char *file, char *function, int line, /* Global Variables */ +/****v* silcutil/SilcLogAPI/silc_log_timestamp + * + * NAME + * + * bool silc_log_timestamp -- enable/disable fast logging timestamp + * + * DESCRIPTION + * + * Causes SilcLog to add a timestamp as returned by silc_get_time(). + * This may be useful for example if you run your application under a + * daemon helper like watchdog that adds its own timestamp. Defaults to + * true. + * + ***/ +extern DLLAPI bool silc_log_timestamp; + /****v* silcutil/SilcLogAPI/silc_log_quick * * NAME