+2004-11-13 Helge Hess <helge@groove.local>
+
+ * WOApplication.m, WOCoreApplication.m: do not use deprecated logger
+ API (v4.5.85)
+
2004-11-12 Marcus Mueller <znek@mulle-kybernetik.com>
- * WO{Core}Application*: use new (experimental) NGLogging API from
- NGExtensions. (v4.5.84)
+ * WOApplication.m, WOCoreApplication.m: use new NGLogging API from
+ NGExtensions (v4.5.84)
2004-11-07 Marcus Mueller <znek@mulle-kybernetik.com>
# version file
-SUBMINOR_VERSION:=84
+SUBMINOR_VERSION:=85
# v4.5.84 required libNGExtensions v4.5.127
# v4.3.42 requires libNGExtensions v4.3.116
pool = [[NSAutoreleasePool alloc] init];
debugOn = [WOApplication isDebuggingEnabled];
- if(!debugOn)
+ if (!debugOn)
[[self logger] setLogLevel:NGLogLevelInfo];
if (classLock == nil) classLock = [[NSRecursiveLock alloc] init];
rapidTurnAroundPath = [[ud stringForKey:@"WOProjectDirectory"] copy];
- lm = [NGLoggerManager defaultManager];
+ lm = [NGLoggerManager defaultLoggerManager];
perfLogger = [lm loggerForDefaultKey:@"WOProfileApplication"];
[pool release];
didInit = YES;
[self _initDefaults];
- lm = [NGLoggerManager defaultManager];
+ lm = [NGLoggerManager defaultLoggerManager];
perfLogger = [lm loggerForDefaultKey:@"WOProfileApplication"];
ud = [NSUserDefaults standardUserDefaults];
-Copyright (C) 2000-2003 SKYRIX Software AG
+Copyright (C) 2000-2004 SKYRIX Software AG
Contact: info@skyrix.com
#include "NGLogAppender.h"
#include "NSObject+ExtendedLogging.h"
#include "NGLogEvent.h"
+#include "common.h"
@implementation NGLogAppender
- (void)appendLogEvent:(NGLogEvent *)_event {
+#if LIB_FOUNDATION_LIBRARY
[self subclassResponsibility:_cmd];
+#else
+ NSLog(@"ERROR(%s): method should be implemented by subclass!",
+ __PRETTY_FUNCTION__);
+#endif
}
- (NSString *)formattedEvent:(NGLogEvent *)_event {
#include "NGLogEvent.h"
#include <syslog.h>
#include <stdarg.h>
+#include "common.h"
@interface NGLogSyslogAppender (PrivateAPI)
- (int)syslogLevelForLogLevel:(NGLogLevel)_level;
NSString *subdir;
id tmp;
-#if !COCOA_Foundation_LIBRARY
+#if !COCOA_Foundation_LIBRARY && !NeXT_Foundation_LIBRARY
tmp = NSStandardLibraryPaths();
#else
tmp = nil; /* not available on Cocoa? */
ma = [NSMutableArray arrayWithCapacity:8];
#if COCOA_Foundation_LIBRARY
+ /* Note: do not use NeXT_Foundation_LIBRARY, this is only for Xcode! */
[self addSearchPathesForCocoa:ma];
#elif GNUSTEP_BASE_LIBRARY
[self addSearchPathesForStdLibPathes:ma];