diff options
author | Simon Rettberg | 2018-04-11 22:31:55 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-04-11 22:31:55 +0200 |
commit | a6bb8e8d31bc9ecdc01c454b36150fea84c37ca8 (patch) | |
tree | 4cfb78967ecbdfc1a38690454d0ee65b987835f8 /src/shared/log.h | |
parent | [SERVER] More error handling and logging when caching received data to disk (diff) | |
download | dnbd3-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.h | 2 |
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 |