From 3ff3fdf4cca42610113ac13a6387fceadb543ad1 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Mon, 31 May 2010 23:16:16 +0000 Subject: [PATCH] Fix the stdout print to make it more readable.. Originally committed to SVN as r4376. --- aegisub/libaegisub/common/log.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/aegisub/libaegisub/common/log.cpp b/aegisub/libaegisub/common/log.cpp index 8f15fe40f..298cf5527 100644 --- a/aegisub/libaegisub/common/log.cpp +++ b/aegisub/libaegisub/common/log.cpp @@ -87,11 +87,12 @@ void EmitSTDOUT::log(SinkMessage *sm) { tm tmtime; localtime_r(&sm->tv.tv_sec, &tmtime); - printf("%c %d-%02d-%02d %02d:%02d:%02d %ld %s %s %s:%d %s\n", +// tmtime.tm_year+1900, +// tmtime.tm_mon, +// tmtime.tm_mday, + + printf("%c %02d:%02d:%02d %ld <%-25s> [%s:%s:%d] %s\n", Severity_ID[sm->severity], - tmtime.tm_year+1900, - tmtime.tm_mon, - tmtime.tm_mday, tmtime.tm_hour, tmtime.tm_min, tmtime.tm_sec,