mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Patch by jeff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13782 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d6ca052e1d
commit
5d4a28787b
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-06-06 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSLog.m: patch by Jeff Teunissen to avoid adding date/time
|
||||
info when using syslog.
|
||||
|
||||
Wed Jun 5 17:46:47 2002 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* Source/NSLog.m (_NSLog_standard_printf_handler): Fixed
|
||||
|
|
|
@ -141,7 +141,12 @@ NSLogv (NSString* format, va_list args)
|
|||
pid = (int)getpid();
|
||||
#endif
|
||||
|
||||
prefix = [NSString
|
||||
#ifdef HAVE_SYSLOG
|
||||
if (GSUserDefaultsFlag(GSLogSyslog) == YES)
|
||||
prefix = @"";
|
||||
else
|
||||
#endif
|
||||
prefix = [NSString
|
||||
stringWithFormat: @"%@ %@[%d] ",
|
||||
[[NSCalendarDate calendarDate]
|
||||
descriptionWithCalendarFormat: @"%Y-%m-%d %H:%M:%S.%F"],
|
||||
|
|
Loading…
Reference in a new issue