mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-13 08:01:33 +01:00
print log timestamps with padding 0s for better sorting
This commit is contained in:
parent
135048a3cf
commit
d5d20293ce
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ logf( XW_LogLevel level, const char* format, ... )
|
|||
|
||||
pthread_t me = pthread_self();
|
||||
|
||||
fprintf( where, "<%p>%d:%d:%d: ", (void*)me, timp->tm_hour,
|
||||
fprintf( where, "<%p>%.2d:%.2d:%.2d: ", (void*)me, timp->tm_hour,
|
||||
timp->tm_min, timp->tm_sec );
|
||||
|
||||
va_list ap;
|
||||
|
|
Loading…
Reference in a new issue