From 179c45422a7623849e0ddb7ab5a278e521ce0bb4 Mon Sep 17 00:00:00 2001 From: CaS Date: Wed, 15 May 2002 16:24:46 +0000 Subject: [PATCH] NSLog improvement. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13660 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Source/NSLog.m | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8e49d1f8b..4a6d2ee8b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-05-15 Richard Frith-Macdonald + + * Source/NSLog.m: Altered logging format for compatibility with + MacOS-X (and easier collating). Thanks to report by lcampbell + 2002-05-14 Richard Frith-Macdonald * Source/Unicode.m: GSFromUnicode(), GSToUnicode(), bugfix - ensure diff --git a/Source/NSLog.m b/Source/NSLog.m index fea502df9..e58b117f6 100644 --- a/Source/NSLog.m +++ b/Source/NSLog.m @@ -135,7 +135,7 @@ NSLogv (NSString* format, va_list args) prefix = [NSString stringWithFormat: @"%@ %@[%d] ", [[NSCalendarDate calendarDate] - descriptionWithCalendarFormat: @"%b %d %H:%M:%S"], + descriptionWithCalendarFormat: @"%Y-%m-%d %H:%M:%S.%F"], [[NSProcessInfo processInfo] processName], pid];