logging: Add a timestamp to the log messages we emit

This commit is contained in:
nick
2013-06-06 11:57:05 +01:00
parent 26c7f1b1c4
commit 24858fcde5
5 changed files with 38 additions and 7 deletions

View File

@@ -94,7 +94,10 @@ error to set both --verbose and --quiet. The last one wins.
The log line format is:
<LEVEL>:<PID> <THREAD> <SOURCEFILE>:<SOURCELINE>: <MSG>
<TIMESTAMP> <LEVEL>:<PID> <THREAD> <SOURCEFILE>:<SOURCELINE>: <MSG>
*TIMESTAMP*:
Time the log entry was made. This is expressed as milliseconds since the epoc.
*LEVEL*:
This will be one of 'D', 'I', 'W', 'E', 'F' in increasing order of