summaryrefslogtreecommitdiffstats
path: root/src/shared/log.h
diff options
context:
space:
mode:
authorSimon Rettberg2018-04-11 22:31:55 +0200
committerSimon Rettberg2018-04-11 22:31:55 +0200
commita6bb8e8d31bc9ecdc01c454b36150fea84c37ca8 (patch)
tree4cfb78967ecbdfc1a38690454d0ee65b987835f8 /src/shared/log.h
parent[SERVER] More error handling and logging when caching received data to disk (diff)
downloaddnbd3-a6bb8e8d31bc9ecdc01c454b36150fea84c37ca8.tar.gz
dnbd3-a6bb8e8d31bc9ecdc01c454b36150fea84c37ca8.tar.xz
dnbd3-a6bb8e8d31bc9ecdc01c454b36150fea84c37ca8.zip
[SERVER] Option to disable timestamps on stdout/console (default: disabled)
Diffstat (limited to 'src/shared/log.h')
-rw-r--r--src/shared/log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/log.h b/src/shared/log.h
index da34fc3..5b1e8f7 100644
--- a/src/shared/log.h
+++ b/src/shared/log.h
@@ -42,6 +42,8 @@ void log_setFileMask(logmask_t mask);
void log_setConsoleMask(logmask_t mask);
+void log_setConsoleTimestamps(bool on);
+
/**
* Open or reopen the log file. If path is NULL and the
* function was called with a path before, the same path