/*
- Copyright (C) 2000-2003 SKYRIX Software AG
+ Copyright (C) 2000-2004 SKYRIX Software AG
- This file is part of OGo
+ This file is part of OpenGroupware.org.
OGo is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#include "common.h"
#include <NGObjWeb/NGObjWeb.h>
2004-11-24 Helge Hess <helge.hess@opengroupware.org>
+ * FdExt.subproj/NSObject+Logs.m: fixed debug logging to be compatible
+ with existing code (v4.5.138)
+
* NGBundleManager.m: subminor code cleanups (v4.5.137)
2004-11-19 Marcus Mueller <znek@mulle-kybernetik.com>
logger = [lm loggerForClass:[self class]];
#else
logger = [lm loggerForClass:[NSObject class]];
+#if 0
+ NSLog(@"%@: created logger: %@", self, logger);
+#endif
#endif
}
return logger;
- (void)debugWithFormat:(NSString *)_fmt arguments:(va_list)_va {
#if DEBUG
- NSString *msg;
+ NSString *msg, *msg2;
if (![self isDebuggingEnabled]) return;
- msg = [[NSStringClass() alloc] initWithFormat:_fmt arguments:_va];
- [[self debugLogger] debugWithFormat:@"<%@>D %@", [self loggingPrefix], msg];
- [msg release];
+ msg = [[NSStringClass() alloc] initWithFormat:_fmt arguments:_va];
+ msg2 = [[NSStringClass() alloc] initWithFormat:
+ @"<%@>D %@", [self loggingPrefix], msg];
+ [[self debugLogger] logLevel:NGLogLevelDebug message:msg2];
+ [msg2 release];
+ [msg release];
#else
# warning debug is disabled, debugWithFormat wont print anything ..
#endif
/*
- Copyright (C) 2000-2004 SKYRIX Software AG
+ Copyright (C) 2004 SKYRIX Software AG
This file is part of OpenGroupware.org.
# version
-SUBMINOR_VERSION:=137
+SUBMINOR_VERSION:=138
# v4.3.115 requires libFoundation v1.0.59
# v4.2.72 requires libEOControl v4.2.39