summaryrefslogtreecommitdiff
path: root/toxcore/logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/logger.h')
-rw-r--r--toxcore/logger.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/toxcore/logger.h b/toxcore/logger.h
index 2a6ee2ed..acd21fb8 100644
--- a/toxcore/logger.h
+++ b/toxcore/logger.h
@@ -67,7 +67,9 @@ void logger_callback_log(Logger *log, logger_cb *function, void *context, void *
67 * If the logger is NULL, this writes to stderr. This behaviour should not be 67 * If the logger is NULL, this writes to stderr. This behaviour should not be
68 * used in production code, but can be useful for temporarily debugging a 68 * used in production code, but can be useful for temporarily debugging a
69 * function that does not have a logger available. It's essentially 69 * function that does not have a logger available. It's essentially
70 * fprintf(stderr, ...), but with timestamps and source location. 70 * fprintf(stderr, ...), but with timestamps and source location. Toxcore must
71 * be built with -DUSE_STDERR_LOGGER for this to work. It will cause an
72 * assertion failure otherwise.
71 */ 73 */
72void logger_write( 74void logger_write(
73 const Logger *log, LOGGER_LEVEL level, const char *file, int line, const char *func, 75 const Logger *log, LOGGER_LEVEL level, const char *file, int line, const char *func,