You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(21) |
Nov
(3) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
|
Mar
(1) |
Apr
(2) |
May
(2) |
Jun
(11) |
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Ruotger S. <ro...@ma...> - 2006-02-23 14:48:30
|
Hi people, I have submitted a patch that eliminates some of the compiler warnings. Please have a look Thanks, Roddi |
From: <mic...@us...> - 2003-09-09 07:37:49
|
Update of /cvsroot/log4cocoa/log4cocoa In directory sc8-pr-cvs1:/tmp/cvs-serv12066 Modified Files: L4Logger.h Log Message: The log4* macros are now variadic. If the message is a string, it is assumed to be a format and you can add additional arguments at the end. If the message is not a string, the extra arguments are ignored. I didn't touch the deprecated L4* macros. Index: L4Logger.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Logger.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- L4Logger.h 16 Jun 2003 15:54:16 -0000 1.6 +++ L4Logger.h 8 Sep 2003 19:14:01 -0000 1.7 @@ -60,28 +60,27 @@ * to do or can't use these macros for some reason. */ -#define L4_LOCATION lineNumber: __LINE__ fileName: __FILE__ methodName: __PRETTY_FUNCTION__ +void log4Log(id object, int line, char *file, char *method, + SEL sel, BOOL isAssertion, BOOL assertion, + id exception, id message, ...); -#define L4LogDebug L4_LOCATION debug -#define L4LogInfo L4_LOCATION info -#define L4LogWarn L4_LOCATION warn -#define L4LogError L4_LOCATION error -#define L4LogFatal L4_LOCATION fatal -#define L4LogAssert L4_LOCATION assert +#define L4_PLAIN(type) self, __LINE__, __FILE__, __PRETTY_FUNCTION__, @selector(lineNumber:fileName:methodName:type:), NO, YES, nil +#define L4_EXCEPTION(type, e) self, __LINE__, __FILE__, __PRETTY_FUNCTION__, @selector(lineNumber:fileName:methodName:type:exception:), NO, YES, e +#define L4_ASSERTION(assertion) self, __LINE__, __FILE__, __PRETTY_FUNCTION__, @selector(lineNumber:fileName:methodName:assert:log:), YES, assertion, nil -#define log4Debug(message) if([[self l4Logger] isDebugEnabled]) [[self l4Logger] L4LogDebug: message] -#define log4Info(message) if([[self l4Logger] isInfoEnabled]) [[self l4Logger] L4LogInfo: message] -#define log4Warn(message) [[self l4Logger] L4LogWarn: message] -#define log4Error(message) [[self l4Logger] L4LogError: message] -#define log4Fatal(message) [[self l4Logger] L4LogFatal: message] +#define log4Debug(message, args...) if([[self l4Logger] isDebugEnabled]) log4Log(L4_PLAIN(debug), message, ## args) +#define log4Info(message, args...) if([[self l4Logger] isInfoEnabled]) log4Log(L4_PLAIN(info), message, ## args) +#define log4Warn(message, args...) log4Log(L4_PLAIN(warn), message, ## args) +#define log4Error(message, args...) log4Log(L4_PLAIN(error), message, ## args) +#define log4Fatal(message, args...) log4Log(L4_PLAIN(fatal), message, ## args) -#define log4DebugWithException(message, e) if([[self l4Logger] isDebugEnabled]) [[self l4Logger] L4LogDebug: message exception: e] -#define log4InfoWithException(message, e) if([[self l4Logger] isInfoEnabled]) [[self l4Logger] L4LogInfo: message exception: e] -#define log4WarnWithException(message, e) [[self l4Logger] L4LogWarn: message exception: e] -#define log4ErrorWithException(message, e) [[self l4Logger] L4LogError: message exception: e] -#define log4FatalWithException(message, e) [[self l4Logger] L4LogFatal: message exception: e] +#define log4DebugWithException(message, e, args...) if([[self l4Logger] isDebugEnabled]) log4Log(L4_EXCEPTION(debug, e), message, ## args) +#define log4InfoWithException(message, e, args...) if([[self l4Logger] isInfoEnabled]) log4Log(L4_EXCEPTION(info, e), message, ## args) +#define log4WarnWithException(message, e, args...) log4Log(L4_EXCEPTION(warn, e), message, ## args) +#define log4ErrorWithException(message, e, args...) log4Log(L4_EXCEPTION(error, e), message, ## args) +#define log4FatalWithException(message, e, args...) log4Log(L4_EXCEPTION(fatal, e), message, ## args) -#define log4Assert(assertion, message) [[self l4Logger] L4LogAssert: assertion log: message] +#define log4Assert(assertion, message, args...) log4Log(L4_ASSERTION(assertion), message, ## args) /***** * NOTE: THESE FOLLOWING MACROS WILL GO AWAY IN 1.0. THEY ARE JUST BEING KEPT AROUND FOR @@ -89,6 +88,15 @@ */ #warning "REMEMBER TO DELETE COMPATIBLITY MACROS IN L4Logger.h" // +#define L4_LOCATION lineNumber: __LINE__ fileName: __FILE__ methodName: __PRETTY_FUNCTION__ + +#define L4LogDebug L4_LOCATION debug +#define L4LogInfo L4_LOCATION info +#define L4LogWarn L4_LOCATION warn +#define L4LogError L4_LOCATION error +#define L4LogFatal L4_LOCATION fatal +#define L4LogAssert L4_LOCATION assert + #define L4Debug(message) if([[self l4Logger] isDebugEnabled]) [[self l4Logger] L4LogDebug: message] #define L4Info(message) if([[self l4Logger] isInfoEnabled]) [[self l4Logger] L4LogInfo: message] #define L4Warn(message) [[self l4Logger] L4LogWarn: message] |
From: <mic...@us...> - 2003-09-09 05:32:17
|
Update of /cvsroot/log4cocoa/log4cocoa In directory sc8-pr-cvs1:/tmp/cvs-serv12211 Modified Files: L4LevelTest.m Log Message: There's a simple method here just to exercise the macros. It doesn't actually use ObjcUnit to do any assertions. Index: L4LevelTest.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4LevelTest.m,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- L4LevelTest.m 15 Jun 2003 03:16:57 -0000 1.1 +++ L4LevelTest.m 8 Sep 2003 19:14:47 -0000 1.2 @@ -52,4 +52,25 @@ [self assertTrue: [[L4Level levelWithName: @"FATAL"] isEqual: [L4Level fatal]] message: @"FATAL string should yield 'fatal' object"]; } +- (void) testLogging { + [L4Configurator basicConfiguration]; + + NSException *e = [[NSException alloc] initWithName:@"TestException" reason:@"Reason" userInfo:nil]; + + log4Debug(@"This is a %@ message.", @"DEBUG"); + log4Info(@"This is an %@ message.", @"INFO"); + log4Warn(@"This is a %@ message.", @"WARN"); + log4Error(@"This is a %@ message.", @"ERROR"); + log4Fatal(@"This is a %@ message.", @"FATAL"); + + log4DebugWithException(@"This is a %@ message with an exception.", e, @"DEBUG"); + log4InfoWithException(@"This is an %@ message with an exception.", e, @"INFO"); + log4WarnWithException(@"This is a %@ message with an exception.", e, @"WARN"); + log4ErrorWithException(@"This is a %@ message with an exception.", e, @"ERROR"); + log4FatalWithException(@"This is a %@ message with an exception.", e, @"FATAL"); + + log4Assert(YES, @"This is a %@ assertion.", @"passed"); + log4Assert(NO, @"This is a %@ assertion.", @"failed"); +} + @end |
From: <mic...@us...> - 2003-09-09 01:31:37
|
Update of /cvsroot/log4cocoa/log4cocoa In directory sc8-pr-cvs1:/tmp/cvs-serv12277 Modified Files: L4SimpleLayout.m Log Message: This is unrelated to the variadic macros. I revised -format: to be faster and (I think) clearer. Index: L4SimpleLayout.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4SimpleLayout.m,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- L4SimpleLayout.m 15 Jun 2003 03:19:21 -0000 1.3 +++ L4SimpleLayout.m 8 Sep 2003 19:15:05 -0000 1.4 @@ -39,34 +39,13 @@ - (NSString *) format: (L4LoggingEvent *) anEvent { - NSString *message; - - message = [[[anEvent level] stringValue] stringByAppendingString: @" - "]; - message = [message stringByAppendingString: [[NSNumber numberWithLong: [anEvent millisSinceStart]] stringValue]]; - -// message = [[[message stringByAppendingString: @" - "] stringByAppendingString: [[anEvent logger] name]] stringByAppendingString: @" ("]; - - if( [anEvent fileName] != nil ) - { - message = [message stringByAppendingString: [anEvent fileName]]; - } - - message = [message stringByAppendingString: @":"]; - - if( [anEvent lineNumber] != nil ) - { - message = [message stringByAppendingString: [[anEvent lineNumber] stringValue]]; - } - - message = [message stringByAppendingString: @") "]; - - if( [anEvent methodName] != nil ) { - message = [message stringByAppendingString: [anEvent methodName]]; - } - - message = [[message stringByAppendingString: @" - "] stringByAppendingString: [anEvent renderedMessage]]; - - return message; + return [NSString stringWithFormat:@"%@ - %ld %@:%@) %@ - %@", + [[anEvent level] stringValue], + [anEvent millisSinceStart], + [anEvent fileName] ?: @"", + [[anEvent lineNumber] stringValue] ?: @"", + [anEvent methodName] ?: @"", + [anEvent renderedMessage]]; } - (BOOL) ignoresException |
From: <mic...@us...> - 2003-09-09 01:16:26
|
Update of /cvsroot/log4cocoa/log4cocoa In directory sc8-pr-cvs1:/tmp/cvs-serv12161 Modified Files: L4Logger.m Log Message: The macros all funnel through the new log4Log function, which is defined here. Index: L4Logger.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Logger.m,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- L4Logger.m 15 Jun 2003 03:18:52 -0000 1.6 +++ L4Logger.m 8 Sep 2003 19:14:23 -0000 1.7 @@ -34,6 +34,7 @@ #import "L4Logger.h" #import "L4PreprocessorStatics.h" +#import "L4NSObjectAdditions.h" static L4Level *_fatal = nil; static L4Level *_error = nil; @@ -41,6 +42,40 @@ static L4Level *_info = nil; static L4Level *_debug = nil; static NSLock *_loggerLock = nil; + +id objc_msgSend(id self, SEL op, ...); + +void log4Log(id object, int line, char *file, char *method, + SEL sel, BOOL isAssertion, BOOL assertion, + id exception, id message, ...) +{ + NSString *combinedMessage; + if ( [message isKindOfClass:[NSString class]] ) + { + va_list args; + va_start(args, message); + combinedMessage = [[NSString alloc] initWithFormat:message + arguments:args]; + va_end(args); + } + else + { + combinedMessage = [message retain]; + } + + if ( isAssertion ) + { + objc_msgSend([object l4Logger], sel, line, file, method, + assertion, combinedMessage); + } + else + { + objc_msgSend([object l4Logger], sel, line, file, method, + combinedMessage, exception); + } + + [combinedMessage release]; +} @implementation L4Logger |
From: <chi...@us...> - 2003-06-16 15:54:21
|
Update of /cvsroot/log4cocoa/log4cocoa In directory sc8-pr-cvs1:/tmp/cvs-serv9742 Modified Files: L4Logger.h L4NSObjectAdditions.h L4NSObjectAdditions.m readme.txt Log Message: renamed NSObject category methods from logger --> l4Logger, to be more paranoid. Should not effect anyone since most people will use the convenience macros instead, updated readme too. Index: L4Logger.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Logger.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- L4Logger.h 16 Jun 2003 02:50:04 -0000 1.5 +++ L4Logger.h 16 Jun 2003 15:54:16 -0000 1.6 @@ -69,19 +69,19 @@ #define L4LogFatal L4_LOCATION fatal #define L4LogAssert L4_LOCATION assert -#define log4Debug(message) if([[self logger] isDebugEnabled]) [[self logger] L4LogDebug: message] -#define log4Info(message) if([[self logger] isInfoEnabled]) [[self logger] L4LogInfo: message] -#define log4Warn(message) [[self logger] L4LogWarn: message] -#define log4Error(message) [[self logger] L4LogError: message] -#define log4Fatal(message) [[self logger] L4LogFatal: message] +#define log4Debug(message) if([[self l4Logger] isDebugEnabled]) [[self l4Logger] L4LogDebug: message] +#define log4Info(message) if([[self l4Logger] isInfoEnabled]) [[self l4Logger] L4LogInfo: message] +#define log4Warn(message) [[self l4Logger] L4LogWarn: message] +#define log4Error(message) [[self l4Logger] L4LogError: message] +#define log4Fatal(message) [[self l4Logger] L4LogFatal: message] -#define log4DebugWithException(message, e) if([[self logger] isDebugEnabled]) [[self logger] L4LogDebug: message exception: e] -#define log4InfoWithException(message, e) if([[self logger] isInfoEnabled]) [[self logger] L4LogInfo: message exception: e] -#define log4WarnWithException(message, e) [[self logger] L4LogWarn: message exception: e] -#define log4ErrorWithException(message, e) [[self logger] L4LogError: message exception: e] -#define log4FatalWithException(message, e) [[self logger] L4LogFatal: message exception: e] +#define log4DebugWithException(message, e) if([[self l4Logger] isDebugEnabled]) [[self l4Logger] L4LogDebug: message exception: e] +#define log4InfoWithException(message, e) if([[self l4Logger] isInfoEnabled]) [[self l4Logger] L4LogInfo: message exception: e] +#define log4WarnWithException(message, e) [[self l4Logger] L4LogWarn: message exception: e] +#define log4ErrorWithException(message, e) [[self l4Logger] L4LogError: message exception: e] +#define log4FatalWithException(message, e) [[self l4Logger] L4LogFatal: message exception: e] -#define log4Assert(assertion, message) [[self logger] L4LogAssert: assertion log: message] +#define log4Assert(assertion, message) [[self l4Logger] L4LogAssert: assertion log: message] /***** * NOTE: THESE FOLLOWING MACROS WILL GO AWAY IN 1.0. THEY ARE JUST BEING KEPT AROUND FOR @@ -89,19 +89,19 @@ */ #warning "REMEMBER TO DELETE COMPATIBLITY MACROS IN L4Logger.h" // -#define L4Debug(message) if([[self logger] isDebugEnabled]) [[self logger] L4LogDebug: message] -#define L4Info(message) if([[self logger] isInfoEnabled]) [[self logger] L4LogInfo: message] -#define L4Warn(message) [[self logger] L4LogWarn: message] -#define L4Error(message) [[self logger] L4LogError: message] -#define L4Fatal(message) [[self logger] L4LogFatal: message] +#define L4Debug(message) if([[self l4Logger] isDebugEnabled]) [[self l4Logger] L4LogDebug: message] +#define L4Info(message) if([[self l4Logger] isInfoEnabled]) [[self l4Logger] L4LogInfo: message] +#define L4Warn(message) [[self l4Logger] L4LogWarn: message] +#define L4Error(message) [[self l4Logger] L4LogError: message] +#define L4Fatal(message) [[self l4Logger] L4LogFatal: message] -#define L4DebugWithException(message, e) if([[self logger] isDebugEnabled]) [[self logger] L4LogDebug: message exception: e] -#define L4InfoWithException(message, e) if([[self logger] isInfoEnabled]) [[self logger] L4LogInfo: message exception: e] -#define L4WarnWithException(message, e) [[self logger] L4LogWarn: message exception: e] -#define L4ErrorWithException(message, e) [[self logger] L4LogError: message exception: e] -#define L4FatalWithException(message, e) [[self logger] L4LogFatal: message exception: e] +#define L4DebugWithException(message, e) if([[self l4Logger] isDebugEnabled]) [[self l4Logger] L4LogDebug: message exception: e] +#define L4InfoWithException(message, e) if([[self l4Logger] isInfoEnabled]) [[self l4Logger] L4LogInfo: message exception: e] +#define L4WarnWithException(message, e) [[self l4Logger] L4LogWarn: message exception: e] +#define L4ErrorWithException(message, e) [[self l4Logger] L4LogError: message exception: e] +#define L4FatalWithException(message, e) [[self l4Logger] L4LogFatal: message exception: e] -#define L4Assert(assertion, message) [[self logger] L4LogAssert: assertion log: message] +#define L4Assert(assertion, message) [[self l4Logger] L4LogAssert: assertion log: message] Index: L4NSObjectAdditions.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4NSObjectAdditions.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- L4NSObjectAdditions.h 7 May 2003 07:16:40 -0000 1.3 +++ L4NSObjectAdditions.h 16 Jun 2003 15:54:16 -0000 1.4 @@ -54,8 +54,13 @@ */ @interface NSObject (L4CocoaMethods) +#warning "Remember to remove logger methods, we're going to be more paranoid and rename then l4Logger." + + (L4Logger *) logger; - (L4Logger *) logger; + ++ (L4Logger *) l4Logger; +- (L4Logger *) l4Logger; @end Index: L4NSObjectAdditions.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4NSObjectAdditions.m,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- L4NSObjectAdditions.m 7 May 2003 07:16:40 -0000 1.3 +++ L4NSObjectAdditions.m 16 Jun 2003 15:54:16 -0000 1.4 @@ -42,12 +42,24 @@ @implementation NSObject(L4CocoaMethods) +#warning "Remember to remove logger implementations, we're going to be more paranoid and rename then l4Logger." + + (L4Logger *) logger { return [L4LogManager loggerForClass: (Class) self]; } - (L4Logger *) logger +{ + return [L4LogManager loggerForClass: [self class]]; +} + ++ (L4Logger *) l4Logger +{ + return [L4LogManager loggerForClass: (Class) self]; +} + +- (L4Logger *) l4Logger { return [L4LogManager loggerForClass: [self class]]; } Index: readme.txt =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/readme.txt,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- readme.txt 15 Jun 2003 03:20:11 -0000 1.8 +++ readme.txt 16 Jun 2003 15:54:16 -0000 1.9 @@ -40,7 +40,7 @@ Obviously the second way can be coded in numeruous ways, but I just wanted to point out the two approaches. Also, both versions of the Debug & Info macros expand into methods that are wrapped by an "isEnabled" if statement, like so: -if([[self logger] isInfoEnabled]) [[self logger] lineNumber: __LINE__ +if([[self l4Logger] isInfoEnabled]) [[self l4Logger] lineNumber: __LINE__ fileName: __FILE__ methodName: __PRETTY_FUNCTION__ info: message @@ -50,20 +50,20 @@ NOTE: none of these macro's do not include a final semi-colon, so make sure to use one when invoking them. -The 2 core logging convenience methods are implemented as categories on NSObject (if you want to log off of an NSProxy, you'll need to implement these there too ... maybe we'll provide these convenience methods there, but we haven't yet). +The 2 core logging convenience methods are implemented as categories on NSObject (if you want to log off of an NSProxy, you'll need to implement these there too ... maybe we'll provide these convenience methods there, but we haven't yet). Since these are catagories on NSObject we've added the 'l4' prefix to be more paranoid and avoid the remote possiblity of a name collision with someone elses category. @interface NSObject (L4CocoaMethods) - + (L4Logger *) logger; - - (L4Logger *) logger; + + (L4Logger *) l4Logger; + - (L4Logger *) l4Logger; @end -Therefore, [self logger] returns a L4Logger instance based on the calling class object. To log a message, without using the above macros, the usage is: +Therefore, [self l4Logger] returns a L4Logger instance based on the calling class object. To log a message, without using the above macros, the usage is: - [[self logger] l4fatal: @"Crap something fatal happened. You're screwed. Game Over."]; + [[self l4Logger] l4fatal: @"Crap something fatal happened. You're screwed. Game Over."]; - [[self logger] l4debug: @"Debug info goes here. La de da. All the King's horses & all the kings men couldn't put Humpty Dumpty back together again."]; + [[self l4Logger] l4debug: @"Debug info goes here. La de da. All the King's horses & all the kings men couldn't put Humpty Dumpty back together again."]; Frankly, I don't know why you wouldn't want to use these macros, but the non-macro versions are still there in case that's what you want or for some reason you can't use the macro versions. |
From: <chi...@us...> - 2003-06-16 15:54:21
|
Update of /cvsroot/log4cocoa/log4cocoa/Log4Cocoa.pbproj In directory sc8-pr-cvs1:/tmp/cvs-serv9742/Log4Cocoa.pbproj Modified Files: bob.pbxuser Log Message: renamed NSObject category methods from logger --> l4Logger, to be more paranoid. Should not effect anyone since most people will use the convenience macros instead, updated readme too. Index: bob.pbxuser =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/Log4Cocoa.pbproj/bob.pbxuser,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- bob.pbxuser 16 Jun 2003 02:50:05 -0000 1.4 +++ bob.pbxuser 16 Jun 2003 15:54:16 -0000 1.5 @@ -11,14 +11,14 @@ C4965D2D0465C7070065302B, ); perUserDictionary = { - PBXPerProjectTemplateStateSaveDate = 77424237; + PBXPerProjectTemplateStateSaveDate = 77470835; PBXWorkspaceContents = ( { LeftSlideOut = { Split0 = { Split0 = { NavContent0 = { - bookmark = C41A04A9049C2B6C00709C79; + bookmark = C44EA5B0049E1ED600EB6DC1; history = ( C41C05A3042714C500000103, C41C05A4042714C500000103, @@ -46,8 +46,6 @@ C46EE64F046A1BFF0065302B, C46EE651046A1BFF0065302B, C46EE652046A1BFF0065302B, - C46EE654046A1BFF0065302B, - C46EE655046A1BFF0065302B, C46EE656046A1BFF0065302B, C46EE657046A1BFF0065302B, C48D7E51046FC9C30065302B, @@ -63,9 +61,11 @@ C42FB7520471F6540065302B, C42FB7540471F6540065302B, C4564BE9049C191D00C4E362, - C4090BDB049C2B31007E7519, - C4090BDC049C2B31007E7519, - C4090BDF049C2B31007E7519, + C44EA5A8049E1ED600EB6DC1, + C44EA5A9049E1ED600EB6DC1, + C44EA5AA049E1ED600EB6DC1, + C44EA5AB049E1ED600EB6DC1, + C44EA5AC049E1ED600EB6DC1, ); prevStack = ( C41C05B3042714C500000103, @@ -192,6 +192,11 @@ C4564BEB049C191D00C4E362, C4090BDD049C2B31007E7519, C4090BDE049C2B31007E7519, + C44EA1CD049E125500EB6DC1, + C44EA20C049E1C5000EB6DC1, + C44EA5AD049E1ED600EB6DC1, + C44EA5AE049E1ED600EB6DC1, + C44EA5AF049E1ED600EB6DC1, ); }; NavCount = 1; @@ -296,7 +301,7 @@ Frame = "{{0, 0}, {854, 264}}"; }; Tab4 = { - Frame = "{{0, 0}, {854, 228}}"; + Frame = "{{0, 0}, {854, 448}}"; }; TabCount = 5; TabsVisible = YES; @@ -361,19 +366,15 @@ WindowLocation = "{9, 16}"; }, ); - PBXWorkspaceStateSaveDate = 77424237; + PBXWorkspaceStateSaveDate = 77470835; }; perUserProjectItems = { C40668970469564C0065302B = C40668970469564C0065302B; C40668980469564C0065302B = C40668980469564C0065302B; C40668990469564C0065302B = C40668990469564C0065302B; C406689A0469564C0065302B = C406689A0469564C0065302B; - C4090BDB049C2B31007E7519 = C4090BDB049C2B31007E7519; - C4090BDC049C2B31007E7519 = C4090BDC049C2B31007E7519; C4090BDD049C2B31007E7519 = C4090BDD049C2B31007E7519; C4090BDE049C2B31007E7519 = C4090BDE049C2B31007E7519; - C4090BDF049C2B31007E7519 = C4090BDF049C2B31007E7519; - C41A04A9049C2B6C00709C79 = C41A04A9049C2B6C00709C79; C41A33C7045AD1A20065302B = C41A33C7045AD1A20065302B; C41A33C8045AD1A20065302B = C41A33C8045AD1A20065302B; C41A33CD045AD1A20065302B = C41A33CD045AD1A20065302B; @@ -438,6 +439,17 @@ C43317F704631DA80065302B = C43317F704631DA80065302B; C43317F804631DA80065302B = C43317F804631DA80065302B; C43317F904631DA80065302B = C43317F904631DA80065302B; + C44EA1CD049E125500EB6DC1 = C44EA1CD049E125500EB6DC1; + C44EA20C049E1C5000EB6DC1 = C44EA20C049E1C5000EB6DC1; + C44EA5A8049E1ED600EB6DC1 = C44EA5A8049E1ED600EB6DC1; + C44EA5A9049E1ED600EB6DC1 = C44EA5A9049E1ED600EB6DC1; + C44EA5AA049E1ED600EB6DC1 = C44EA5AA049E1ED600EB6DC1; + C44EA5AB049E1ED600EB6DC1 = C44EA5AB049E1ED600EB6DC1; + C44EA5AC049E1ED600EB6DC1 = C44EA5AC049E1ED600EB6DC1; + C44EA5AD049E1ED600EB6DC1 = C44EA5AD049E1ED600EB6DC1; + C44EA5AE049E1ED600EB6DC1 = C44EA5AE049E1ED600EB6DC1; + C44EA5AF049E1ED600EB6DC1 = C44EA5AF049E1ED600EB6DC1; + C44EA5B0049E1ED600EB6DC1 = C44EA5B0049E1ED600EB6DC1; C4564BE9049C191D00C4E362 = C4564BE9049C191D00C4E362; C4564BEB049C191D00C4E362 = C4564BEB049C191D00C4E362; C458FBF5045ABE8A0065302B = C458FBF5045ABE8A0065302B; @@ -456,8 +468,6 @@ C46EE64F046A1BFF0065302B = C46EE64F046A1BFF0065302B; C46EE651046A1BFF0065302B = C46EE651046A1BFF0065302B; C46EE652046A1BFF0065302B = C46EE652046A1BFF0065302B; - C46EE654046A1BFF0065302B = C46EE654046A1BFF0065302B; - C46EE655046A1BFF0065302B = C46EE655046A1BFF0065302B; C46EE656046A1BFF0065302B = C46EE656046A1BFF0065302B; C46EE657046A1BFF0065302B = C46EE657046A1BFF0065302B; C46EE659046A1BFF0065302B = C46EE659046A1BFF0065302B; @@ -584,26 +594,6 @@ vrLen = 1674; vrLoc = 0; }; - C4090BDB049C2B31007E7519 = { - fRef = F591406F02A96C8701000102; - isa = PBXTextBookmark; - name = "L4Logger.m: error:exception:"; - rLen = 0; - rLoc = 14847; - rType = 0; - vrLen = 1211; - vrLoc = 14614; - }; - C4090BDC049C2B31007E7519 = { - fRef = F5DEFB2F0351704B01000102; - isa = PBXTextBookmark; - name = "readme.txt: 77"; - rLen = 0; - rLoc = 3983; - rType = 0; - vrLen = 1533; - vrLoc = 0; - }; C4090BDD049C2B31007E7519 = { fRef = F591406F02A96C8701000102; isa = PBXTextBookmark; @@ -619,31 +609,11 @@ isa = PBXTextBookmark; name = "readme.txt: 77"; rLen = 0; - rLoc = 3983; + rLoc = 4166; rType = 0; vrLen = 1533; vrLoc = 0; }; - C4090BDF049C2B31007E7519 = { - fRef = F591406E02A96C8701000102; - isa = PBXTextBookmark; - name = "L4Logger.h: log4Fatal"; - rLen = 0; - rLoc = 3133; - rType = 0; - vrLen = 936; - vrLoc = 2059; - }; - C41A04A9049C2B6C00709C79 = { - fRef = F591406E02A96C8701000102; - isa = PBXTextBookmark; - name = "L4Logger.h: log4Fatal"; - rLen = 0; - rLoc = 3133; - rType = 0; - vrLen = 840; - vrLoc = 2059; - }; C41A33C7045AD1A20065302B = { bstl = 014CEA450018CDF011CA2923; isa = PBXBuildStyleBookmark; @@ -749,7 +719,7 @@ isa = PBXTextBookmark; name = "readme.txt: 71"; rLen = 0; - rLoc = 3668; + rLoc = 3851; rType = 0; vrLen = 2107; vrLoc = 0; @@ -1159,7 +1129,7 @@ isa = PBXTextBookmark; name = "L4Logger.h: level"; rLen = 0; - rLoc = 3184; + rLoc = 3198; rType = 0; vrLen = 1275; vrLoc = 2396; @@ -1189,7 +1159,7 @@ isa = PBXTextBookmark; name = "L4Logger.h: name"; rLen = 0; - rLoc = 3184; + rLoc = 3198; rType = 0; vrLen = 1222; vrLoc = 2396; @@ -1224,6 +1194,113 @@ vrLen = 1227; vrLoc = 3076; }; + C44EA1CD049E125500EB6DC1 = { + fRef = F591406E02A96C8701000102; + isa = PBXTextBookmark; + name = "L4Logger.h: log4Fatal"; + rLen = 0; + rLoc = 3145; + rType = 0; + vrLen = 1979; + vrLoc = 2059; + }; + C44EA20C049E1C5000EB6DC1 = { + fRef = F5DEFB2F0351704B01000102; + isa = PBXTextBookmark; + name = "readme.txt: 13"; + rLen = 0; + rLoc = 341; + rType = 0; + vrLen = 1533; + vrLoc = 0; + }; + C44EA5A8049E1ED600EB6DC1 = { + fRef = F591406F02A96C8701000102; + isa = PBXTextBookmark; + name = "L4Logger.m: currentLoggers"; + rLen = 0; + rLoc = 18264; + rType = 0; + vrLen = 1858; + vrLoc = 0; + }; + C44EA5A9049E1ED600EB6DC1 = { + fRef = F642027002B03EE001653044; + isa = PBXTextBookmark; + name = "L4NSObjectAdditions.h: logger"; + rLen = 104; + rLoc = 2190; + rType = 0; + vrLen = 966; + vrLoc = 1674; + }; + C44EA5AA049E1ED600EB6DC1 = { + fRef = F642027102B03EE001653044; + isa = PBXTextBookmark; + name = "L4NSObjectAdditions.m: 57"; + rLen = 0; + rLoc = 2035; + rType = 0; + vrLen = 416; + vrLoc = 1236; + }; + C44EA5AB049E1ED600EB6DC1 = { + fRef = F591406E02A96C8701000102; + isa = PBXTextBookmark; + name = "L4Logger.h: L4Assert"; + rLen = 0; + rLoc = 5040; + rType = 0; + vrLen = 550; + vrLoc = 2648; + }; + C44EA5AC049E1ED600EB6DC1 = { + fRef = F5DEFB2F0351704B01000102; + isa = PBXTextBookmark; + rLen = 8; + rLoc = 2952; + rType = 0; + }; + C44EA5AD049E1ED600EB6DC1 = { + fRef = F642027002B03EE001653044; + isa = PBXTextBookmark; + name = "L4NSObjectAdditions.h: logger"; + rLen = 104; + rLoc = 2190; + rType = 0; + vrLen = 966; + vrLoc = 1674; + }; + C44EA5AE049E1ED600EB6DC1 = { + fRef = F642027102B03EE001653044; + isa = PBXTextBookmark; + name = "L4NSObjectAdditions.m: 57"; + rLen = 0; + rLoc = 2035; + rType = 0; + vrLen = 416; + vrLoc = 1236; + }; + C44EA5AF049E1ED600EB6DC1 = { + fRef = F591406E02A96C8701000102; + isa = PBXTextBookmark; + name = "L4Logger.h: L4Assert"; + rLen = 0; + rLoc = 5040; + rType = 0; + vrLen = 550; + vrLoc = 2648; + }; + C44EA5B0049E1ED600EB6DC1 = { + fRef = F5DEFB2F0351704B01000102; + isa = PBXTextBookmark; + name = "readme.txt: 53"; + rLen = 0; + rLoc = 2889; + rType = 0; + vrLen = 1329; + vrLoc = 3002; + }; C4564BE9049C191D00C4E362 = { fRef = F591407202A96C8701000102; isa = PBXTextBookmark; @@ -1239,7 +1316,7 @@ isa = PBXTextBookmark; name = "L4Logger.h: 102"; rLen = 0; - rLoc = 4838; + rLoc = 4894; rType = 0; vrLen = 2447; vrLoc = 2573; @@ -1380,26 +1457,6 @@ vrLen = 1812; vrLoc = 0; }; - C46EE654046A1BFF0065302B = { - fRef = F642027002B03EE001653044; - isa = PBXTextBookmark; - name = "L4NSObjectAdditions.h: 10"; - rLen = 0; - rLoc = 262; - rType = 0; - vrLen = 890; - vrLoc = 1719; - }; - C46EE655046A1BFF0065302B = { - fRef = F642027102B03EE001653044; - isa = PBXTextBookmark; - name = "L4NSObjectAdditions.m: 11"; - rLen = 0; - rLoc = 351; - rType = 0; - vrLen = 1527; - vrLoc = 383; - }; C46EE656046A1BFF0065302B = { fRef = F5AD24F802B3CCEB01000102; isa = PBXTextBookmark; @@ -1885,7 +1942,7 @@ isa = PBXTextBookmark; name = "L4Logger.h: setParent:"; rLen = 0; - rLoc = 2949; + rLoc = 2955; rType = 0; vrLen = 2144; vrLoc = 1174; @@ -1905,7 +1962,7 @@ isa = PBXTextBookmark; name = "L4Logger.h: logAssert"; rLen = 0; - rLoc = 2870; + rLoc = 2872; rType = 0; vrLen = 1249; vrLoc = 0; @@ -2069,7 +2126,7 @@ isa = PBXTextBookmark; name = "L4Logger.h: isErrorEnabled"; rLen = 0; - rLoc = 5164; + rLoc = 5224; rType = 0; vrLen = 1143; vrLoc = 3503; @@ -2089,7 +2146,7 @@ isa = PBXTextBookmark; name = "L4Logger.h: setLevel:"; rLen = 0; - rLoc = 3184; + rLoc = 3198; rType = 0; vrLen = 1193; vrLoc = 2342; @@ -2129,7 +2186,7 @@ isa = PBXTextBookmark; name = "L4Logger.h: setLevel:"; rLen = 0; - rLoc = 3184; + rLoc = 3198; rType = 0; vrLen = 1888; vrLoc = 528; |
From: <chi...@us...> - 2003-06-16 03:04:44
|
Update of /cvsroot/log4cocoa/log4cocoa In directory sc8-pr-cvs1:/tmp/cvs-serv30729 Added Files: TODO.txt Log Message: added todo list to CVS --- NEW FILE: TODO.txt --- more appenders more layouts more configuration better Demo App test & improve performance multi-threading writing tests GUI configuration management framework GUI log viewer c wrapper --------------------------------------------------------------- LONG TERM GOALS (post version 1.0) clean up internal logging of error messages to use a logger (right now using speciality class). Analyze architecture and make it more Cocoa like (AppKit, Foundation, etc.) --- perhaps add delegates, etc. |
From: <chi...@us...> - 2003-06-16 02:50:11
|
Update of /cvsroot/log4cocoa/log4cocoa/Log4Cocoa.pbproj In directory sc8-pr-cvs1:/tmp/cvs-serv28133/Log4Cocoa.pbproj Modified Files: bob.pbxuser Log Message: fixed minor capitalization prob with new macro names Index: bob.pbxuser =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/Log4Cocoa.pbproj/bob.pbxuser,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- bob.pbxuser 15 Jun 2003 03:16:57 -0000 1.3 +++ bob.pbxuser 16 Jun 2003 02:50:05 -0000 1.4 @@ -3,7 +3,7 @@ 0867D690FE84028FC02AAC07 = { activeBuildStyle = 014CEA440018CDF011CA2923; activeExecutable = C4965D2D0465C7070065302B; - activeTarget = 0867D69CFE84028FC02AAC07; + activeTarget = C4965D2B0465C7070065302B; addToTargets = ( C4965D2B0465C7070065302B, ); @@ -11,14 +11,14 @@ C4965D2D0465C7070065302B, ); perUserDictionary = { - PBXPerProjectTemplateStateSaveDate = 77338218; + PBXPerProjectTemplateStateSaveDate = 77424237; PBXWorkspaceContents = ( { LeftSlideOut = { Split0 = { Split0 = { NavContent0 = { - bookmark = C4564BED049C191D00C4E362; + bookmark = C41A04A9049C2B6C00709C79; history = ( C41C05A3042714C500000103, C41C05A4042714C500000103, @@ -62,13 +62,10 @@ C42FB7500471F6540065302B, C42FB7520471F6540065302B, C42FB7540471F6540065302B, - C4DC9AED048B97B200AA1565, - C4564BE8049C191D00C4E362, C4564BE9049C191D00C4E362, - C4564BEA049C191D00C4E362, - ); - nextStack = ( - C4564BEC049C191D00C4E362, + C4090BDB049C2B31007E7519, + C4090BDC049C2B31007E7519, + C4090BDF049C2B31007E7519, ); prevStack = ( C41C05B3042714C500000103, @@ -193,6 +190,8 @@ C42FB7580471F6540065302B, C46BC6E3048552860081E37F, C4564BEB049C191D00C4E362, + C4090BDD049C2B31007E7519, + C4090BDE049C2B31007E7519, ); }; NavCount = 1; @@ -362,13 +361,19 @@ WindowLocation = "{9, 16}"; }, ); - PBXWorkspaceStateSaveDate = 77338218; + PBXWorkspaceStateSaveDate = 77424237; }; perUserProjectItems = { C40668970469564C0065302B = C40668970469564C0065302B; C40668980469564C0065302B = C40668980469564C0065302B; C40668990469564C0065302B = C40668990469564C0065302B; C406689A0469564C0065302B = C406689A0469564C0065302B; + C4090BDB049C2B31007E7519 = C4090BDB049C2B31007E7519; + C4090BDC049C2B31007E7519 = C4090BDC049C2B31007E7519; + C4090BDD049C2B31007E7519 = C4090BDD049C2B31007E7519; + C4090BDE049C2B31007E7519 = C4090BDE049C2B31007E7519; + C4090BDF049C2B31007E7519 = C4090BDF049C2B31007E7519; + C41A04A9049C2B6C00709C79 = C41A04A9049C2B6C00709C79; C41A33C7045AD1A20065302B = C41A33C7045AD1A20065302B; C41A33C8045AD1A20065302B = C41A33C8045AD1A20065302B; C41A33CD045AD1A20065302B = C41A33CD045AD1A20065302B; @@ -433,12 +438,8 @@ C43317F704631DA80065302B = C43317F704631DA80065302B; C43317F804631DA80065302B = C43317F804631DA80065302B; C43317F904631DA80065302B = C43317F904631DA80065302B; - C4564BE8049C191D00C4E362 = C4564BE8049C191D00C4E362; C4564BE9049C191D00C4E362 = C4564BE9049C191D00C4E362; - C4564BEA049C191D00C4E362 = C4564BEA049C191D00C4E362; C4564BEB049C191D00C4E362 = C4564BEB049C191D00C4E362; - C4564BEC049C191D00C4E362 = C4564BEC049C191D00C4E362; - C4564BED049C191D00C4E362 = C4564BED049C191D00C4E362; C458FBF5045ABE8A0065302B = C458FBF5045ABE8A0065302B; C458FBF6045ABE8A0065302B = C458FBF6045ABE8A0065302B; C458FBF7045ABE8A0065302B = C458FBF7045ABE8A0065302B; @@ -534,7 +535,6 @@ C4BCCB28045D7CD10065302B = C4BCCB28045D7CD10065302B; C4BCCB29045D7CD10065302B = C4BCCB29045D7CD10065302B; C4BCCB2A045D7CD10065302B = C4BCCB2A045D7CD10065302B; - C4DC9AED048B97B200AA1565 = C4DC9AED048B97B200AA1565; }; projectwideBuildSettings = { }; @@ -584,6 +584,66 @@ vrLen = 1674; vrLoc = 0; }; + C4090BDB049C2B31007E7519 = { + fRef = F591406F02A96C8701000102; + isa = PBXTextBookmark; + name = "L4Logger.m: error:exception:"; + rLen = 0; + rLoc = 14847; + rType = 0; + vrLen = 1211; + vrLoc = 14614; + }; + C4090BDC049C2B31007E7519 = { + fRef = F5DEFB2F0351704B01000102; + isa = PBXTextBookmark; + name = "readme.txt: 77"; + rLen = 0; + rLoc = 3983; + rType = 0; + vrLen = 1533; + vrLoc = 0; + }; + C4090BDD049C2B31007E7519 = { + fRef = F591406F02A96C8701000102; + isa = PBXTextBookmark; + name = "L4Logger.m: error:exception:"; + rLen = 0; + rLoc = 14847; + rType = 0; + vrLen = 1211; + vrLoc = 14614; + }; + C4090BDE049C2B31007E7519 = { + fRef = F5DEFB2F0351704B01000102; + isa = PBXTextBookmark; + name = "readme.txt: 77"; + rLen = 0; + rLoc = 3983; + rType = 0; + vrLen = 1533; + vrLoc = 0; + }; + C4090BDF049C2B31007E7519 = { + fRef = F591406E02A96C8701000102; + isa = PBXTextBookmark; + name = "L4Logger.h: log4Fatal"; + rLen = 0; + rLoc = 3133; + rType = 0; + vrLen = 936; + vrLoc = 2059; + }; + C41A04A9049C2B6C00709C79 = { + fRef = F591406E02A96C8701000102; + isa = PBXTextBookmark; + name = "L4Logger.h: log4Fatal"; + rLen = 0; + rLoc = 3133; + rType = 0; + vrLen = 840; + vrLoc = 2059; + }; C41A33C7045AD1A20065302B = { bstl = 014CEA450018CDF011CA2923; isa = PBXBuildStyleBookmark; @@ -1164,16 +1224,6 @@ vrLen = 1227; vrLoc = 3076; }; - C4564BE8049C191D00C4E362 = { - fRef = F591406E02A96C8701000102; - isa = PBXTextBookmark; - name = "L4Logger.h: 102"; - rLen = 0; - rLoc = 4838; - rType = 0; - vrLen = 2447; - vrLoc = 2573; - }; C4564BE9049C191D00C4E362 = { fRef = F591407202A96C8701000102; isa = PBXTextBookmark; @@ -1184,13 +1234,6 @@ vrLen = 1102; vrLoc = 1851; }; - C4564BEA049C191D00C4E362 = { - fRef = F591406F02A96C8701000102; - isa = PBXTextBookmark; - rLen = 11; - rLoc = 5596; - rType = 0; - }; C4564BEB049C191D00C4E362 = { fRef = F591406E02A96C8701000102; isa = PBXTextBookmark; @@ -1201,26 +1244,6 @@ vrLen = 2447; vrLoc = 2573; }; - C4564BEC049C191D00C4E362 = { - fRef = F591407202A96C8701000102; - isa = PBXTextBookmark; - name = "L4LoggerStore.m: taskNowMultiThreaded:"; - rLen = 10; - rLoc = 2495; - rType = 0; - vrLen = 1102; - vrLoc = 1851; - }; - C4564BED049C191D00C4E362 = { - fRef = F591406F02A96C8701000102; - isa = PBXTextBookmark; - name = "L4Logger.m: error:exception:"; - rLen = 0; - rLoc = 14847; - rType = 0; - vrLen = 626; - vrLoc = 14614; - }; C458FBF5045ABE8A0065302B = { fRef = F591406E02A96C8701000102; isa = PBXTextBookmark; @@ -2178,16 +2201,6 @@ name = LogManager.java; path = "/Users/bob/projects/jakarta-log4j-1.2.8/src/java/org/apache/log4j/LogManager.java"; refType = 0; - }; - C4DC9AED048B97B200AA1565 = { - fRef = F5DEFB2F0351704B01000102; - isa = PBXTextBookmark; - name = "readme.txt: 77"; - rLen = 0; - rLoc = 3983; - rType = 0; - vrLen = 1391; - vrLoc = 0; }; F591404802A96C6901000102 = { uiCtxt = { |
From: <chi...@us...> - 2003-06-16 02:50:11
|
Update of /cvsroot/log4cocoa/log4cocoa In directory sc8-pr-cvs1:/tmp/cvs-serv28133 Modified Files: L4Logger.h Log Message: fixed minor capitalization prob with new macro names Index: L4Logger.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Logger.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- L4Logger.h 15 Jun 2003 03:18:52 -0000 1.4 +++ L4Logger.h 16 Jun 2003 02:50:04 -0000 1.5 @@ -72,8 +72,8 @@ #define log4Debug(message) if([[self logger] isDebugEnabled]) [[self logger] L4LogDebug: message] #define log4Info(message) if([[self logger] isInfoEnabled]) [[self logger] L4LogInfo: message] #define log4Warn(message) [[self logger] L4LogWarn: message] -#define log4error(message) [[self logger] L4LogError: message] -#define log4fatal(message) [[self logger] L4LogFatal: message] +#define log4Error(message) [[self logger] L4LogError: message] +#define log4Fatal(message) [[self logger] L4LogFatal: message] #define log4DebugWithException(message, e) if([[self logger] isDebugEnabled]) [[self logger] L4LogDebug: message exception: e] #define log4InfoWithException(message, e) if([[self logger] isInfoEnabled]) [[self logger] L4LogInfo: message exception: e] |
From: <chi...@us...> - 2003-06-15 03:20:14
|
Update of /cvsroot/log4cocoa/log4cocoa In directory sc8-pr-cvs1:/tmp/cvs-serv2459 Modified Files: readme.txt Log Message: updated readme to reflect new macro names *** NOTE *** tweaked macro names, left old macros in place in L4Logger.h so that there won't be any compatibility problems for now. Index: readme.txt =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/readme.txt,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- readme.txt 7 May 2003 07:16:40 -0000 1.7 +++ readme.txt 15 Jun 2003 03:20:11 -0000 1.8 @@ -1,39 +1,44 @@ -Log4Cocoa Usage (May 7, 2003) --- draft 0.0.a.2 +Log4Cocoa Usage (May 7, 2003) --- draft 0.0.a.3 To make Log4Cocoa easier, there are several high level macros, as follows: -L4Debug((message)); -L4Info((message)); -L4Warn((message)); -L4Error((message)); -L4Fatal((message)); +log4Debug((message)); +log4Info((message)); +log4Warn((message)); +log4Error((message)); +log4Fatal((message)); -L4DebugWithException((message, e)); -L4InfoWithException((message, e)); -L4WarnWithException((message, e)); -L4ErrorWithException((message, e)); -L4FatalWithException((message, e)); +log4DebugWithException((message), e); +log4InfoWithException((message), e); +log4WarnWithException((message), e); +log4ErrorWithException((message), e); +log4FatalWithException((message), e); -L4Assert((assertion, message)); +log4Assert(assertion, (message)); -**VERY IMPORTANT NOTE**: The second set of parenthesis are optional, however read the following note. Since these are macros, if you have a comma "," in your log statement, the gcc processor will assume that you have 2 arguments, even if you only have one. + +**VERY IMPORTANT NOTE**: The second set of parenthesis around the log message are technically optional, however read the following note. + +Since these are macros, if you have a comma "," in your log message, the gcc processor will assume that you have 2 arguments, even if you only have one. Therefore, if you have a comma anywhere in your log message, you must wrap it in an extra set of parens or rewrite it without commas. This statement: - L4Info([NSString stringWithFormat: @"Duration: %f", [end timeIntervalSinceDate: start]]); + + log4Info([NSString stringWithFormat: @"Duration: %f", [end timeIntervalSinceDate: start]]); + will result in this error: - MyClass.m:44: too many args (2) to macro 'L4Info' (1 expected) -Solution 1a: If you have commas in your log message line *ANYWHERE*, you can remove this issue by wraping your log message with an extra set of parenthesis as documented above, like so: + MyClass.m:44: too many args (2) to macro 'log4Info' (1 expected) - L4Info(([NSString stringWithFormat: @"Duration: %f", [end timeIntervalSinceDate: start]])); +Solution 1 - Wrapping: -Solution 1b: Or, you can re-write your log statement so that it does not include commas, like so: + log4Info(([NSString stringWithFormat: @"Duration: %f", [end timeIntervalSinceDate: start]])); + +Solution 2 - Rewriting: - L4Info([@"Duration: " stringByAppendingString: [[NSNumber numberWithDouble: [end timeIntervalSinceDate: start]] stringValue]]); + log4Info([@"Duration: " stringByAppendingString: [[NSNumber numberWithDouble: [end timeIntervalSinceDate: start]] stringValue]]); -Obviously the second way can be coded in numeruous ways, but I just wanted to point out the two approaches. Clearly the second way is more cumbersome and not as straight forward, therefore if you use the first approach, it is important to remember to use 2 sets of parenthesis. -Also, both versions of the Debug & Info macros expand into methods that are wrapped by an "isEnabled" if statement, like so: +Obviously the second way can be coded in numeruous ways, but I just wanted to point out the two approaches. Also, both versions of the Debug & Info macros expand into methods that are wrapped by an "isEnabled" if statement, like so: if([[self logger] isInfoEnabled]) [[self logger] lineNumber: __LINE__ fileName: __FILE__ @@ -41,9 +46,7 @@ info: message exception: e] -All of the other levels expand out to their counterparts, but are not enclosed by the "isEnabled" if statement. Also, FYI, __LINE__, __FILE__, and __PRETTY_FUNCTION__ are macros GCC built in as predefined macros to generate the appropriate information. - -L4Assert() takes an BOOL as an assertion expression that must evaluate to YES, or else it logs the message as an error. +All of the other levels expand out to their counterparts, but are not enclosed by the "isEnabled" if statement. Also, FYI, __LINE__, __FILE__, and __PRETTY_FUNCTION__ are macros GCC built in as predefined macros to generate the appropriate information. log4Assert() takes an BOOL as an assertion expression that must evaluate to YES, or else it logs the message as an error. NOTE: none of these macro's do not include a final semi-colon, so make sure to use one when invoking them. @@ -67,6 +70,30 @@ Since, +logger; & -logger; are implmented as categories on NSObject, you can override them if you don't want the default logger for your class or you want cache the logger. +II. Embedding Log4Cocoa + +To actually embed Log4Cocoa in your application, you'll need to add a copy phase to your build target. Your application will run as long as Log4Cocoa is installed in your Framework search path but embedding it will make deployment much easier and gdb gets messed up when you use an embedded framework but don't actually embed it. + +From Apple's Documentation: + +http://developer.apple.com/techpubs/macosx/DeveloperTools/ProjectBuilder/ProjectBuilder.help/Contents/Resources/English.lproj/Frameworks/chapter_19_section_3.html + +Copy the Framework Into the Application + +In the applicationÕs target, you need to add a copy-files build phase that copies the framework into the application. + + +1) Add the framework to the applicationÕs target. See ÒAdding Files and FrameworksÓ. If the applicationÕs target and frameworkÕs target are in the same project, you should also make the applicationÕs target dependent on the frameworkÕs target. See ÒManaging Target DependenciesÓ. + +2) In the project window, click the Targets tab and open the application target. + +3) Click the last build phase under Build Phases, and choose Project > New Build Phase > New Copy Files Build Phase. + +4) Choose Frameworks from the Where pop-up menu, select the ÒCopy only when installingÓ option, and drag the framework to the Files field. + +You can find the framework in the Products group in the projectÕs Files list. + + Copyright (c) 2002, 2003, Bob Frank All rights reserved. @@ -96,3 +123,4 @@ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + |
From: <chi...@us...> - 2003-06-15 03:19:24
|
Update of /cvsroot/log4cocoa/log4cocoa In directory sc8-pr-cvs1:/tmp/cvs-serv2359 Modified Files: L4SimpleLayout.m Log Message: minor tweak to default message format Index: L4SimpleLayout.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4SimpleLayout.m,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- L4SimpleLayout.m 7 May 2003 07:16:40 -0000 1.2 +++ L4SimpleLayout.m 15 Jun 2003 03:19:21 -0000 1.3 @@ -44,7 +44,7 @@ message = [[[anEvent level] stringValue] stringByAppendingString: @" - "]; message = [message stringByAppendingString: [[NSNumber numberWithLong: [anEvent millisSinceStart]] stringValue]]; - message = [[[message stringByAppendingString: @" - "] stringByAppendingString: [[anEvent logger] name]] stringByAppendingString: @" ("]; +// message = [[[message stringByAppendingString: @" - "] stringByAppendingString: [[anEvent logger] name]] stringByAppendingString: @" ("]; if( [anEvent fileName] != nil ) { |
From: <chi...@us...> - 2003-06-15 03:18:54
|
Update of /cvsroot/log4cocoa/log4cocoa In directory sc8-pr-cvs1:/tmp/cvs-serv2301 Modified Files: L4Logger.h L4Logger.m L4LoggerStore.h L4LoggerStore.m Log Message: started to add NSLocks to make Log4Cocoa thread safe, but backed out and commented all locks for now, I'm goingn to focus on other things for now getting ready for WWDC. I will look for a multi-threading expert later. Index: L4Logger.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Logger.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- L4Logger.h 7 May 2003 07:16:40 -0000 1.3 +++ L4Logger.h 15 Jun 2003 03:18:52 -0000 1.4 @@ -69,6 +69,26 @@ #define L4LogFatal L4_LOCATION fatal #define L4LogAssert L4_LOCATION assert +#define log4Debug(message) if([[self logger] isDebugEnabled]) [[self logger] L4LogDebug: message] +#define log4Info(message) if([[self logger] isInfoEnabled]) [[self logger] L4LogInfo: message] +#define log4Warn(message) [[self logger] L4LogWarn: message] +#define log4error(message) [[self logger] L4LogError: message] +#define log4fatal(message) [[self logger] L4LogFatal: message] + +#define log4DebugWithException(message, e) if([[self logger] isDebugEnabled]) [[self logger] L4LogDebug: message exception: e] +#define log4InfoWithException(message, e) if([[self logger] isInfoEnabled]) [[self logger] L4LogInfo: message exception: e] +#define log4WarnWithException(message, e) [[self logger] L4LogWarn: message exception: e] +#define log4ErrorWithException(message, e) [[self logger] L4LogError: message exception: e] +#define log4FatalWithException(message, e) [[self logger] L4LogFatal: message exception: e] + +#define log4Assert(assertion, message) [[self logger] L4LogAssert: assertion log: message] + +/***** + * NOTE: THESE FOLLOWING MACROS WILL GO AWAY IN 1.0. THEY ARE JUST BEING KEPT AROUND FOR + * TEMPORARY COMATIBILITY REASONS WITH EARLIER PRE-BETA VERSIONS. + */ +#warning "REMEMBER TO DELETE COMPATIBLITY MACROS IN L4Logger.h" +// #define L4Debug(message) if([[self logger] isDebugEnabled]) [[self logger] L4LogDebug: message] #define L4Info(message) if([[self logger] isInfoEnabled]) [[self logger] L4LogInfo: message] #define L4Warn(message) [[self logger] L4LogWarn: message] @@ -84,6 +104,7 @@ #define L4Assert(assertion, message) [[self logger] L4LogAssert: assertion log: message] + @class L4AppenderAttachableImpl; @interface L4Logger : NSObject { @@ -94,6 +115,8 @@ BOOL additive; L4AppenderAttachableImpl *aai; } + ++ (void) taskNowMultiThreaded: (NSNotification *) event; // DON'T USE, only for use of log manager - (id) initWithName: (NSString *) loggerName; Index: L4Logger.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Logger.m,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- L4Logger.m 7 May 2003 07:16:40 -0000 1.5 +++ L4Logger.m 15 Jun 2003 03:18:52 -0000 1.6 @@ -40,6 +40,7 @@ static L4Level *_warn = nil; static L4Level *_info = nil; static L4Level *_debug = nil; +static NSLock *_loggerLock = nil; @implementation L4Logger @@ -56,8 +57,26 @@ _warn = [L4Level warn]; _error = [L4Level error]; _fatal = [L4Level fatal]; + + if ([NSThread isMultiThreaded]) { + [self taskNowMultiThreaded: nil]; + } else { + [[NSNotificationCenter defaultCenter] addObserver: self + selector: @selector(taskNowMultiThreaded:) + name: NSWillBecomeMultiThreadedNotification + object: nil]; + } } ++ (void) taskNowMultiThreaded: (NSNotification *) event { + if (!_loggerLock) { + _loggerLock = [[NSLock alloc] init]; + // we can add other things here. + } +} + + + - init { return nil; // never use this constructor @@ -211,6 +230,8 @@ L4Logger *aLogger = self; int writes = 0; +// [_loggerLock lock]; // ### LOCKING + for( aLogger = self; aLogger != nil; aLogger = [aLogger parent] ) { if( [aLogger aai] != nil ) @@ -223,6 +244,8 @@ } } +// [_loggerLock unlock]; // ### LOCKING + if( writes == 0 ) { [repository emitNoAppenderWarning: self]; @@ -250,14 +273,16 @@ return [aai appenderWithName: aName]; } -- (void) addAppender: (id <L4Appender>) appender // SYNCHRONIZED ???? +- (void) addAppender: (id <L4Appender>) appender // SYNCHRONIZED { +// [_loggerLock lock]; // ### LOCKING if( aai == nil ) { aai = [[L4AppenderAttachableImpl alloc] init]; } [aai addAppender: appender]; +// [_loggerLock unlock]; // ### LOCKING } - (BOOL) isAttached: (id <L4Appender>) appender @@ -290,26 +315,34 @@ // it should implement the L4AppenderAttachable protocol // weird?!?!?! // +// [_loggerLock lock]; // ### LOCKING [anObject close]; +// [_loggerLock unlock]; // ### LOCKING } } } - (void) removeAllAppenders { +// [_loggerLock lock]; // ### LOCKING [aai removeAllAppenders]; [aai release]; aai = nil; +// [_loggerLock unlock]; // ### LOCKING } - (void) removeAppender: (id <L4Appender>) appender { +// [_loggerLock lock]; // ### LOCKING [aai removeAppender: appender]; +// [_loggerLock unlock]; // ### LOCKING } - (void) removeAppenderWithName: (NSString *) aName { +// [_loggerLock lock]; // ### LOCKING [aai removeAppenderWithName: aName]; +// [_loggerLock unlock]; // ### LOCKING } @end Index: L4LoggerStore.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4LoggerStore.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- L4LoggerStore.h 7 May 2003 07:16:40 -0000 1.2 +++ L4LoggerStore.h 15 Jun 2003 03:18:52 -0000 1.3 @@ -51,6 +51,12 @@ BOOL emittedNoResourceBundleWarning; } +/******** + * enables thread locking, no need to lock if not mulit-threaded. + */ ++ (void) taskNowMultiThreaded: (NSNotification *) event; + + /******* * the following are L4LoggerRepository methods */ Index: L4LoggerStore.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4LoggerStore.m,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- L4LoggerStore.m 7 May 2003 07:16:40 -0000 1.4 +++ L4LoggerStore.m 15 Jun 2003 03:18:52 -0000 1.5 @@ -36,6 +36,9 @@ #import <objc/objc-class.h> +static NSLock *_storeLock = nil; + + @interface L4LoggerStore (Private) - (NSString *) pseudoFqcnForClass: (Class) aClass; @@ -50,6 +53,24 @@ @implementation L4LoggerStore ++ (void) initialize { + if ([NSThread isMultiThreaded]) { + [self taskNowMultiThreaded: nil]; + } else { + [[NSNotificationCenter defaultCenter] addObserver: self + selector: @selector(taskNowMultiThreaded:) + name: NSWillBecomeMultiThreadedNotification + object: nil]; + } +} + ++ (void) taskNowMultiThreaded: (NSNotification *) event { + if (!_storeLock) { + _storeLock = [[NSLock alloc] init]; + // we can add other things here. + } +} + - (id) init { // ### todo ??? [self autorelease]; @@ -155,8 +176,10 @@ // save the logger with a class as its key // +// [_storeLock lock]; // ### LOCKING [repository setObject: theLogger forKey: aClass]; +// [_storeLock unlock]; // ### LOCKING } return theLogger; } @@ -176,7 +199,11 @@ factory: (id <L4LoggerFactory>) aFactory { L4Logger *theLogger = nil; - id theNode = [repository objectForKey: aName]; + id theNode; + +// [_storeLock lock]; // ### LOCKING + theNode = [repository objectForKey: aName]; +// [_storeLock unlock]; // ### LOCKING // ### -- TODO? - enable ifdef for compiling out ???? // #ifdef LOG4COCOA_DISABLED @@ -185,6 +212,8 @@ if( theNode == nil ) { +// [_storeLock lock]; // ### LOCKING + // // if the node is nil, then its a new logger & therefore // a new leaf node, since no placeholder node was found. // @@ -194,6 +223,8 @@ forKey: aName]; [self updateParentsOfLogger: theLogger]; [loggers addObject: theLogger]; + +// [_storeLock unlock]; // ### LOCKING } else if([theNode isKindOfClass: [L4Logger class]]) { @@ -201,6 +232,8 @@ } else if([theNode isKindOfClass: [NSMutableArray class]]) { +// [_storeLock lock]; // ### LOCKING + // // this node is a placeholder middle node, since its // an NSMutableArray. It contains children and // a parent, so when we insert this logger, we need @@ -215,6 +248,8 @@ withParent: theLogger ]; [self updateParentsOfLogger: theLogger]; [loggers addObject: theLogger]; + +// [_storeLock lock]; // ### LOCKING } else { |
From: <chi...@us...> - 2003-06-15 03:17:00
|
Update of /cvsroot/log4cocoa/log4cocoa/Log4Cocoa.pbproj In directory sc8-pr-cvs1:/tmp/cvs-serv2080/Log4Cocoa.pbproj Modified Files: bob.pbxuser project.pbxproj Log Message: adding testing target ***NOTE*** this is adding a dependency on ObjcUnit http://oops.se/objcunit/ I will be posting a new tarball tonight that contains ObjcUnit, a primitive demo app, and the latest code. Index: bob.pbxuser =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/Log4Cocoa.pbproj/bob.pbxuser,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- bob.pbxuser 26 Apr 2003 13:19:44 -0000 1.2 +++ bob.pbxuser 15 Jun 2003 03:16:57 -0000 1.3 @@ -2,40 +2,73 @@ { 0867D690FE84028FC02AAC07 = { activeBuildStyle = 014CEA440018CDF011CA2923; + activeExecutable = C4965D2D0465C7070065302B; activeTarget = 0867D69CFE84028FC02AAC07; addToTargets = ( - 0867D69CFE84028FC02AAC07, + C4965D2B0465C7070065302B, + ); + executables = ( + C4965D2D0465C7070065302B, [...2035 lines suppressed...] + refType = 0; + }; + C4BCCB2F045D7CD10065302B = { + isa = PBXFileReference; + name = LogManager.java; + path = "/Users/bob/projects/jakarta-log4j-1.2.8/src/java/org/apache/log4j/LogManager.java"; + refType = 0; + }; + C4DC9AED048B97B200AA1565 = { + fRef = F5DEFB2F0351704B01000102; + isa = PBXTextBookmark; + name = "readme.txt: 77"; + rLen = 0; + rLoc = 3983; + rType = 0; + vrLen = 1391; + vrLoc = 0; }; F591404802A96C6901000102 = { uiCtxt = { Index: project.pbxproj =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/Log4Cocoa.pbproj/project.pbxproj,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- project.pbxproj 26 Apr 2003 13:19:44 -0000 1.5 +++ project.pbxproj 15 Jun 2003 03:16:57 -0000 1.6 @@ -38,6 +38,7 @@ 034768DFFF38A50411DB9C8B = { children = ( 034768E0FF38A50411DB9C8B, + C4965D2C0465C7070065302B, ); isa = PBXGroup; name = Products; @@ -70,6 +71,7 @@ projectDirPath = ""; targets = ( 0867D69CFE84028FC02AAC07, + C4965D2B0465C7070065302B, ); }; 0867D691FE84028FC02AAC07 = { @@ -83,6 +85,7 @@ F5DEA9C202ADC60101000102, F5DEA9C302ADC60101000102, F52F1C7C02B0E27E01000102, + C4965D340465C7BF0065302B, 089C1665FE841158C02AAC07, 0867D69AFE84028FC02AAC07, 034768DFFF38A50411DB9C8B, @@ -239,7 +242,7 @@ 0867D6A0FE84028FC02AAC07 = { buildActionMask = 2147483647; files = ( - 1058C7B3FEA5585E11CA2CBB, + C46EE60C046A142E0065302B, ); isa = PBXFrameworksBuildPhase; runOnlyForDeploymentPostprocessing = 0; @@ -300,6 +303,7 @@ 1058C7B0FEA5585E11CA2CBB = { children = ( 1058C7B1FEA5585E11CA2CBB, + C4965D320465C7B30065302B, ); isa = PBXGroup; name = "Linked Frameworks"; @@ -320,17 +324,552 @@ name = "Other Frameworks"; refType = 4; }; - 1058C7B3FEA5585E11CA2CBB = { - fileRef = 1058C7B1FEA5585E11CA2CBB; - isa = PBXBuildFile; - settings = { - }; - }; //100 //101 //102 //103 //104 +//C40 +//C41 +//C42 +//C43 +//C44 + C46EE60C046A142E0065302B = { + fileRef = 0867D69BFE84028FC02AAC07; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE60D046A14340065302B = { + fileRef = 0867D69BFE84028FC02AAC07; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE613046A15470065302B = { + fileRef = F591406C02A96C8701000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE614046A15490065302B = { + fileRef = F591406D02A96C8701000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE615046A15530065302B = { + fileRef = F591408402A96CA101000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE616046A15530065302B = { + fileRef = F5842785035E7B0F01000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE617046A15540065302B = { + fileRef = F642027002B03EE001653044; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE618046A15540065302B = { + fileRef = F642027102B03EE001653044; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE619046A15550065302B = { + fileRef = F5AD24F702B3CCEB01000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE61A046A15550065302B = { + fileRef = F5AD24F802B3CCEB01000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE61B046A15560065302B = { + fileRef = F591407002A96C8701000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE61C046A15570065302B = { + fileRef = F591406E02A96C8701000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE61D046A15570065302B = { + fileRef = F591406F02A96C8701000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE61E046A15580065302B = { + fileRef = F5BE209E02AF03EE01000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE61F046A15590065302B = { + fileRef = F5BE209F02AF03EE01000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE620046A155A0065302B = { + fileRef = F591407102A96C8701000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE621046A155A0065302B = { + fileRef = F591407202A96C8701000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE622046A155B0065302B = { + fileRef = F591407602A96C8701000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE623046A155B0065302B = { + fileRef = F591407702A96C8701000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE624046A155C0065302B = { + fileRef = F591407402A96C8701000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE625046A155D0065302B = { + fileRef = F591407502A96C8701000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE626046A155D0065302B = { + fileRef = F5BE20A202AF071001000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE627046A155E0065302B = { + fileRef = F5BE20A302AF071001000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE628046A155E0065302B = { + fileRef = F5BE20AA02AF27FE01000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE629046A155F0065302B = { + fileRef = F5BE20AB02AF27FE01000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE62A046A155F0065302B = { + fileRef = F642026C02AFF63301653044; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE62B046A15600065302B = { + fileRef = F642026D02AFF63301653044; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE62C046A15610065302B = { + fileRef = F5E38662033CD46C01000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE62D046A15610065302B = { + fileRef = F5E38663033CD46C01000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE62E046A15670065302B = { + fileRef = F5AEAFC103101357013DC353; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE62F046A15670065302B = { + fileRef = F5AEAFC003101357013DC353; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE630046A15680065302B = { + fileRef = F5AD250002B45E9F01000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE631046A15680065302B = { + fileRef = F5AD24FF02B45E9F01000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE632046A15690065302B = { + fileRef = F591405502A96C6901000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE633046A156A0065302B = { + fileRef = F591405302A96C6901000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE634046A156B0065302B = { + fileRef = F591405402A96C6901000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE635046A156B0065302B = { + fileRef = F591405202A96C6901000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE636046A156C0065302B = { + fileRef = F5AD24FC02B45E6E01000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE637046A156D0065302B = { + fileRef = F5AD24FB02B45E6E01000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE638046A156E0065302B = { + fileRef = F591405902A96C6901000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE639046A156E0065302B = { + fileRef = F591405802A96C6901000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE63A046A15700065302B = { + fileRef = F591405702A96C6901000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE63B046A15700065302B = { + fileRef = F591405602A96C6901000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE63C046A15700065302B = { + fileRef = F591405102A96C6901000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE63D046A15710065302B = { + fileRef = F591405002A96C6901000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE63E046A15710065302B = { + fileRef = F591404F02A96C6901000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE63F046A15720065302B = { + fileRef = F591404E02A96C6901000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE640046A15730065302B = { + fileRef = F591404C02A96C6901000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE641046A15730065302B = { + fileRef = F591404B02A96C6901000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE642046A15740065302B = { + fileRef = F591404902A96C6901000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE643046A15740065302B = { + fileRef = F591404802A96C6901000102; + isa = PBXBuildFile; + settings = { + }; + }; + C46EE644046A15750065302B = { + fileRef = F591404A02A96C6901000102; + isa = PBXBuildFile; + settings = { + }; + }; + C4965D270465C7070065302B = { + buildActionMask = 2147483647; + files = ( + C4965D300465C75A0065302B, + C4965D900465C84D0065302B, + C4965DFF0465CA120065302B, + C46EE613046A15470065302B, + C46EE615046A15530065302B, + C46EE616046A15530065302B, + C46EE617046A15540065302B, + C46EE619046A15550065302B, + C46EE61B046A15560065302B, + C46EE61C046A15570065302B, + C46EE61E046A15580065302B, + C46EE620046A155A0065302B, + C46EE622046A155B0065302B, + C46EE624046A155C0065302B, + C46EE626046A155D0065302B, + C46EE628046A155E0065302B, + C46EE62A046A155F0065302B, + C46EE62C046A15610065302B, + C46EE62F046A15670065302B, + C46EE631046A15680065302B, + C46EE634046A156B0065302B, + C46EE635046A156B0065302B, + C46EE637046A156D0065302B, + C46EE639046A156E0065302B, + C46EE63B046A15700065302B, + C46EE63D046A15710065302B, + C46EE63F046A15720065302B, + C46EE641046A15730065302B, + C46EE643046A15740065302B, + C46EE644046A15750065302B, + ); + isa = PBXHeadersBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + C4965D280465C7070065302B = { + buildActionMask = 2147483647; + files = ( + C4965D360465C8150065302B, + C4965D910465C84D0065302B, + C4965E000465CA120065302B, + C46EE614046A15490065302B, + C46EE618046A15540065302B, + C46EE61A046A15550065302B, + C46EE61D046A15570065302B, + C46EE61F046A15590065302B, + C46EE621046A155A0065302B, + C46EE623046A155B0065302B, + C46EE625046A155D0065302B, + C46EE627046A155E0065302B, + C46EE629046A155F0065302B, + C46EE62B046A15600065302B, + C46EE62D046A15610065302B, + C46EE62E046A15670065302B, + C46EE630046A15680065302B, + C46EE632046A15690065302B, + C46EE633046A156A0065302B, + C46EE636046A156C0065302B, + C46EE638046A156E0065302B, + C46EE63A046A15700065302B, + C46EE63C046A15700065302B, + C46EE63E046A15710065302B, + C46EE640046A15730065302B, + C46EE642046A15740065302B, + ); + isa = PBXSourcesBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + C4965D290465C7070065302B = { + buildActionMask = 2147483647; + files = ( + C4965D330465C7B30065302B, + C46EE60D046A14340065302B, + ); + isa = PBXFrameworksBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + C4965D2A0465C7070065302B = { + buildActionMask = 2147483647; + files = ( + ); + isa = PBXRezBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + C4965D2B0465C7070065302B = { + buildPhases = ( + C4965D270465C7070065302B, + C4965D280465C7070065302B, + C4965D290465C7070065302B, + C4965D2A0465C7070065302B, + ); + buildSettings = { + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + OTHER_REZFLAGS = ""; + PREFIX_HEADER = AllTests_Prefix.h; + PRODUCT_NAME = AllTests; + PROFILING_CODE = YES; + REZ_EXECUTABLE = YES; + SECTORDER_FLAGS = ""; + WARNING_CFLAGS = "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas"; + }; + dependencies = ( + C4965D2E0465C70C0065302B, + ); + isa = PBXToolTarget; + name = AllTests; + productInstallPath = /usr/local/bin; + productName = AllTests; + productReference = C4965D2C0465C7070065302B; + }; + C4965D2C0465C7070065302B = { + isa = PBXExecutableFileReference; + path = AllTests; + refType = 3; + }; + C4965D2E0465C70C0065302B = { + isa = PBXTargetDependency; + target = 0867D69CFE84028FC02AAC07; + }; + C4965D2F0465C75A0065302B = { + fileEncoding = 4; + isa = PBXFileReference; + path = AllTests_Prefix.h; + refType = 4; + }; + C4965D300465C75A0065302B = { + fileRef = C4965D2F0465C75A0065302B; + isa = PBXBuildFile; + settings = { + }; + }; + C4965D320465C7B30065302B = { + isa = PBXFrameworkReference; + name = ObjcUnit.framework; + path = /Library/Frameworks/ObjcUnit.framework; + refType = 0; + }; + C4965D330465C7B30065302B = { + fileRef = C4965D320465C7B30065302B; + isa = PBXBuildFile; + settings = { + }; + }; + C4965D340465C7BF0065302B = { + children = ( + C4965D2F0465C75A0065302B, + C4965D350465C8150065302B, + C4965D8E0465C84D0065302B, + C4965D8F0465C84D0065302B, + C4965DFD0465CA120065302B, + C4965DFE0465CA120065302B, + ); + isa = PBXGroup; + name = Tests; + refType = 4; + }; + C4965D350465C8150065302B = { + fileEncoding = 4; + isa = PBXFileReference; + path = test_main.m; + refType = 4; + }; + C4965D360465C8150065302B = { + fileRef = C4965D350465C8150065302B; + isa = PBXBuildFile; + settings = { + }; + }; + C4965D8E0465C84D0065302B = { + fileEncoding = 4; + isa = PBXFileReference; + path = AllTests.h; + refType = 4; + }; + C4965D8F0465C84D0065302B = { + fileEncoding = 4; + isa = PBXFileReference; + path = AllTests.m; + refType = 4; + }; + C4965D900465C84D0065302B = { + fileRef = C4965D8E0465C84D0065302B; + isa = PBXBuildFile; + settings = { + }; + }; + C4965D910465C84D0065302B = { + fileRef = C4965D8F0465C84D0065302B; + isa = PBXBuildFile; + settings = { + }; + }; + C4965DFD0465CA120065302B = { + fileEncoding = 4; + isa = PBXFileReference; + path = L4LevelTest.h; + refType = 4; + }; + C4965DFE0465CA120065302B = { + fileEncoding = 4; + isa = PBXFileReference; + path = L4LevelTest.m; + refType = 4; + }; + C4965DFF0465CA120065302B = { + fileRef = C4965DFD0465CA120065302B; + isa = PBXBuildFile; + settings = { + }; + }; + C4965E000465CA120065302B = { + fileRef = C4965DFE0465CA120065302B; + isa = PBXBuildFile; + settings = { + }; + }; +//C40 +//C41 +//C42 +//C43 +//C44 //F50 //F51 //F52 |
From: <chi...@us...> - 2003-06-15 03:17:00
|
Update of /cvsroot/log4cocoa/log4cocoa In directory sc8-pr-cvs1:/tmp/cvs-serv2080 Added Files: AllTests.h AllTests.m AllTests_Prefix.h L4LevelTest.h L4LevelTest.m test_main.m Log Message: adding testing target ***NOTE*** this is adding a dependency on ObjcUnit http://oops.se/objcunit/ I will be posting a new tarball tonight that contains ObjcUnit, a primitive demo app, and the latest code. --- NEW FILE: AllTests.h --- // // AllTests.h // Log4Cocoa // // Created by bob frank on Sun May 04 2003. // Copyright (c) 2003 __MyCompanyName__. All rights reserved. // #import <Foundation/Foundation.h> @interface AllTests : NSObject { } + (TestSuite *)suite; @end --- NEW FILE: AllTests.m --- // // AllTests.m // Log4Cocoa // // Created by bob frank on Sun May 04 2003. // Copyright (c) 2003 __MyCompanyName__. All rights reserved. // #import "AllTests.h" #import "L4LevelTest.h" @implementation AllTests + (TestSuite *) suite { TestSuite *suite = [TestSuite suiteWithName: @"My Tests"]; // Add your tests here ... // [suite addTest: [TestSuite suiteWithClass: [L4LevelTest class]]]; return suite; } @end --- NEW FILE: AllTests_Prefix.h --- /* * AllTests_Prefix.h * * * Created by bob frank on Sun May 04 2003. * Copyright (c) 2003 __MyCompanyName__. All rights reserved. * */ #ifdef __OBJC__ // #import <Cocoa/Cocoa.h> #import <Foundation/Foundation.h> #import <ObjcUnit/ObjcUnit.h> #import "Log4Cocoa.h" #endif --- NEW FILE: L4LevelTest.h --- // // L4LevelTest.h // Log4Cocoa // // Created by bob frank on Sun May 04 2003. // Copyright (c) 2003 __MyCompanyName__. All rights reserved. // #import <Foundation/Foundation.h> @interface L4LevelTest : TestCase { } @end --- NEW FILE: L4LevelTest.m --- // // L4LevelTest.m // Log4Cocoa // // Created by bob frank on Sun May 04 2003. // Copyright (c) 2003 __MyCompanyName__. All rights reserved. // #import "L4LevelTest.h" @implementation L4LevelTest - (void) testLevelIntValues { L4Level *debug = [L4Level debug]; L4Level *info = [L4Level info]; L4Level *warn = [L4Level warn]; L4Level *error = [L4Level error]; L4Level *fatal = [L4Level fatal]; [self assertInt: DEBUG_INT equals: 10 message: @"Debug Int should equal 10."]; [self assertInt: [debug intValue] equals: DEBUG_INT message: @"[debug intValue] should equal DEBUG_INT"]; [self assertInt: INFO_INT equals: 20 message: @"Debug Int should equal 20."]; [self assertInt: [info intValue] equals: INFO_INT message: @"[info intValue] should equal INFO_INT"]; [self assertInt: WARN_INT equals: 30 message: @"Debug Int should equal 30."]; [self assertInt: [warn intValue] equals: WARN_INT message: @"[warn intValue] should equal WARN_INT"]; [self assertInt: ERROR_INT equals: 40 message: @"Debug Int should equal 40."]; [self assertInt: [error intValue] equals: ERROR_INT message: @"[error intValue] should equal ERROR_INT"]; [self assertInt: FATAL_INT equals: 50 message: @"Debug Int should equal 50."]; [self assertInt: [fatal intValue] equals: FATAL_INT message: @"[fatal intValue] should equal FATAL_INT"]; } - (void) testLevelHierarchies { // - (void)assertTrue:(BOOL)condition message:(NSString *)message; [self assertTrue: [[L4Level fatal] isGreaterOrEqual: [L4Level debug]] message: @"Fatal should be >= debug"]; [self assertTrue: [[L4Level fatal] isGreaterOrEqual: [L4Level info]] message: @"Fatal should be >= info"]; [self assertTrue: [[L4Level fatal] isGreaterOrEqual: [L4Level warn]] message: @"Fatal should be >= warn"]; [self assertTrue: [[L4Level fatal] isGreaterOrEqual: [L4Level error]] message: @"Fatal should be >= error"]; [self assertTrue: [[L4Level fatal] isGreaterOrEqual: [L4Level fatal]] message: @"Fatal should be >= fatal"]; [self assertFalse: [[L4Level info] isGreaterOrEqual: [L4Level fatal]] message: @"info should not be >= fatal"]; } - (void) testGettingLevelsByName { [self assertTrue: [[L4Level levelWithName: @"DEBUG"] isEqual: [L4Level debug]] message: @"DEBUG string should yield 'debug' object"]; [self assertTrue: [[L4Level levelWithName: @"INFO"] isEqual: [L4Level info]] message: @"INFO string should yield 'info' object"]; [self assertTrue: [[L4Level levelWithName: @"WARN"] isEqual: [L4Level warn]] message: @"WARN string should yield 'warn' object"]; [self assertTrue: [[L4Level levelWithName: @"ERROR"] isEqual: [L4Level error]] message: @"ERROR string should yield 'error' object"]; [self assertTrue: [[L4Level levelWithName: @"FATAL"] isEqual: [L4Level fatal]] message: @"FATAL string should yield 'fatal' object"]; } @end --- NEW FILE: test_main.m --- // The test_main.m file #import <ObjcUnit/ObjcUnit.h> #import "AllTests.h" int main(int argc, const char *argv[]) { TestRunnerMain([AllTests class]); return 0; } |
From: <chi...@us...> - 2003-06-15 03:03:15
|
Update of /cvsroot/log4cocoa/log4cocoa/English.lproj In directory sc8-pr-cvs1:/tmp/cvs-serv992/English.lproj Modified Files: InfoPlist.strings Log Message: tweak Index: InfoPlist.strings =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/English.lproj/InfoPlist.strings,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 Binary files /tmp/cvsIm7O2i and /tmp/cvsoFLpQr differ |
Update of /cvsroot/log4cocoa/log4cocoa In directory sc8-pr-cvs1:/tmp/cvs-serv16412 Modified Files: L4AppenderAttachableImpl.h L4AppenderAttachableImpl.m L4AppenderProtocols.h L4AppenderSkeleton.h L4AppenderSkeleton.m L4CLogger.h L4CLogger.m L4Configurator.h L4Configurator.m L4ConsoleAppender.h L4ConsoleAppender.m L4DefaultRenderer.h L4DefaultRenderer.m L4ErrorHandler.h L4ErrorHandler.m L4FileAppender.h L4FileAppender.m L4Filter.h L4Filter.m L4Layout.h L4Layout.m L4Level.h L4Level.m L4LogLog.h L4LogLog.m L4LogManager.h L4LogManager.m L4Logger.h L4Logger.m L4LoggerProtocols.h L4LoggerStore.h L4LoggerStore.m L4LoggingEvent.h L4LoggingEvent.m L4NSObjectAdditions.h L4NSObjectAdditions.m L4PatternLayout.h L4PatternLayout.m L4PreprocessorStatics.h L4RendererMap.h L4RendererMap.m L4RollingFileAppender.h L4RollingFileAppender.m L4RootLogger.h L4RootLogger.m L4SimpleLayout.h L4SimpleLayout.m L4WriterAppender.h L4WriterAppender.m Log4Cocoa.h readme.txt Log Message: Update copyright information in all files to use the new BSD-style copyright notice. Index: L4AppenderAttachableImpl.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4AppenderAttachableImpl.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4AppenderAttachableImpl.h 7 Oct 2002 07:52:11 -0000 1.1.1.1 +++ L4AppenderAttachableImpl.h 7 May 2003 07:16:39 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4AppenderAttachableImpl.h -// Log4Cocoa -// -// Created by bfrank on Fri May 24 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ // #import "Log4Cocoa.h" #import <Foundation/Foundation.h> Index: L4AppenderAttachableImpl.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4AppenderAttachableImpl.m,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4AppenderAttachableImpl.m 7 Oct 2002 07:52:11 -0000 1.1.1.1 +++ L4AppenderAttachableImpl.m 7 May 2003 07:16:39 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4AppenderAttachableImpl.m -// Log4Cocoa -// -// Created by bfrank on Fri May 24 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import "L4AppenderAttachableImpl.h" Index: L4AppenderProtocols.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4AppenderProtocols.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- L4AppenderProtocols.h 16 Oct 2002 03:09:25 -0000 1.2 +++ L4AppenderProtocols.h 7 May 2003 07:16:39 -0000 1.3 @@ -1,11 +1,36 @@ -/* - * L4Appender.h - * Log4Cocoa - * - * Created by bob on Mon Mar 11 2002. - * Copyright (c) 2001 __MyCompanyName__. All rights reserved. - * - */ +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import <Foundation/Foundation.h> // #import "L4Logger.h" Index: L4AppenderSkeleton.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4AppenderSkeleton.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4AppenderSkeleton.h 7 Oct 2002 07:52:11 -0000 1.1.1.1 +++ L4AppenderSkeleton.h 7 May 2003 07:16:40 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4AppenderSkeleton.h -// Log4Cocoa -// -// Created by bfrank on Mon Mar 11 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import <Foundation/Foundation.h> #import "L4AppenderProtocols.h" Index: L4AppenderSkeleton.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4AppenderSkeleton.m,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- L4AppenderSkeleton.m 16 Oct 2002 03:09:25 -0000 1.2 +++ L4AppenderSkeleton.m 7 May 2003 07:16:40 -0000 1.3 @@ -1,10 +1,36 @@ -// -// L4AppenderSkeleton.m -// Log4Cocoa -// -// Created by bfrank on Mon Mar 11 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import "L4AppenderSkeleton.h" Index: L4CLogger.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4CLogger.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4CLogger.h 7 Oct 2002 07:52:11 -0000 1.1.1.1 +++ L4CLogger.h 7 May 2003 07:16:40 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4CLogger.h -// Log4Cocoa -// -// Created by bfrank on Sat Sep 21 2002. -// Copyright (c) 2002 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import <Foundation/Foundation.h> #import "L4Logger.h" Index: L4CLogger.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4CLogger.m,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4CLogger.m 7 Oct 2002 07:52:11 -0000 1.1.1.1 +++ L4CLogger.m 7 May 2003 07:16:40 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4CLogger.m -// Log4Cocoa -// -// Created by bfrank on Sat Sep 21 2002. -// Copyright (c) 2002 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import "L4CLogger.h" Index: L4Configurator.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Configurator.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- L4Configurator.h 3 Nov 2002 06:06:04 -0000 1.2 +++ L4Configurator.h 7 May 2003 07:16:40 -0000 1.3 @@ -1,10 +1,36 @@ -// -// L4Configurator.h -// Log4Cocoa -// -// Created by bfrank on Sun Jun 09 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import <Foundation/Foundation.h> Index: L4Configurator.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Configurator.m,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- L4Configurator.m 3 Nov 2002 06:06:04 -0000 1.3 +++ L4Configurator.m 7 May 2003 07:16:40 -0000 1.4 @@ -1,10 +1,36 @@ -// -// L4Properties.m -// Log4Cocoa -// -// Created by bfrank on Sun Jun 09 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import "L4Configurator.h" #import "L4Logger.h" Index: L4ConsoleAppender.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4ConsoleAppender.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- L4ConsoleAppender.h 25 Oct 2002 01:32:58 -0000 1.2 +++ L4ConsoleAppender.h 7 May 2003 07:16:40 -0000 1.3 @@ -1,10 +1,36 @@ -// -// L4ConsoleAppender.h -// Log4Cocoa -// -// Created by bob on Mon Mar 11 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ // #import "Log4Cocoa.h" #import <Foundation/Foundation.h> Index: L4ConsoleAppender.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4ConsoleAppender.m,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- L4ConsoleAppender.m 25 Oct 2002 01:32:58 -0000 1.2 +++ L4ConsoleAppender.m 7 May 2003 07:16:40 -0000 1.3 @@ -1,10 +1,36 @@ -// -// L4ConsoleAppender.m -// Log4Cocoa -// -// Created by bob on Mon Mar 11 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import "L4ConsoleAppender.h" Index: L4DefaultRenderer.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4DefaultRenderer.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4DefaultRenderer.h 7 Oct 2002 07:52:11 -0000 1.1.1.1 +++ L4DefaultRenderer.h 7 May 2003 07:16:40 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4DefaultRenderer.h -// Log4Cocoa -// -// Created by bfrank on Thu Jun 06 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import <Foundation/Foundation.h> #import "L4LoggerProtocols.h" Index: L4DefaultRenderer.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4DefaultRenderer.m,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4DefaultRenderer.m 7 Oct 2002 07:52:11 -0000 1.1.1.1 +++ L4DefaultRenderer.m 7 May 2003 07:16:40 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4DefaultRenderer.m -// Log4Cocoa -// -// Created by bfrank on Thu Jun 06 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import "L4DefaultRenderer.h" Index: L4ErrorHandler.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4ErrorHandler.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4ErrorHandler.h 7 Oct 2002 07:52:11 -0000 1.1.1.1 +++ L4ErrorHandler.h 7 May 2003 07:16:40 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4ErrorHandler.h -// Log4Cocoa -// -// Created by bfrank on Sun Jun 09 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import <Foundation/Foundation.h> Index: L4ErrorHandler.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4ErrorHandler.m,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4ErrorHandler.m 7 Oct 2002 07:52:11 -0000 1.1.1.1 +++ L4ErrorHandler.m 7 May 2003 07:16:40 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4ErrorHandler.m -// Log4Cocoa -// -// Created by bfrank on Sun Jun 09 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import "L4ErrorHandler.h" Index: L4FileAppender.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4FileAppender.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4FileAppender.h 7 Oct 2002 07:52:11 -0000 1.1.1.1 +++ L4FileAppender.h 7 May 2003 07:16:40 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4FileAppender.h -// Log4Cocoa -// -// Created by bfrank on Mon Mar 11 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ // #import "Log4Cocoa.h" #import <Foundation/Foundation.h> Index: L4FileAppender.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4FileAppender.m,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4FileAppender.m 7 Oct 2002 07:52:11 -0000 1.1.1.1 +++ L4FileAppender.m 7 May 2003 07:16:40 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4FileAppender.m -// Log4Cocoa -// -// Created by bfrank on Mon Mar 11 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import "L4FileAppender.h" Index: L4Filter.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Filter.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4Filter.h 7 Oct 2002 07:52:11 -0000 1.1.1.1 +++ L4Filter.h 7 May 2003 07:16:40 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4Filter.h -// Log4Cocoa -// -// Created by bob on Thu May 30 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import <Foundation/Foundation.h> #import "L4AppenderProtocols.h" Index: L4Filter.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Filter.m,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4Filter.m 7 Oct 2002 07:52:11 -0000 1.1.1.1 +++ L4Filter.m 7 May 2003 07:16:40 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4Filter.m -// Log4Cocoa -// -// Created by bob on Thu May 30 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import "L4Filter.h" Index: L4Layout.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Layout.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4Layout.h 7 Oct 2002 07:52:11 -0000 1.1.1.1 +++ L4Layout.h 7 May 2003 07:16:40 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4Layout.h -// Log4Cocoa -// -// Created by bob on Thu May 30 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import <Foundation/Foundation.h> #import "L4AppenderProtocols.h" Index: L4Layout.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Layout.m,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4Layout.m 7 Oct 2002 07:52:11 -0000 1.1.1.1 +++ L4Layout.m 7 May 2003 07:16:40 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4Layout.m -// Log4Cocoa -// -// Created by bob on Thu May 30 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import "L4Layout.h" #import "L4SimpleLayout.h" Index: L4Level.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Level.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4Level.h 7 Oct 2002 07:52:12 -0000 1.1.1.1 +++ L4Level.h 7 May 2003 07:16:40 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4Level.h -// Log4Cocoa -// -// Created by bfrank on Mon Mar 11 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ // #import "Log4Cocoa.h" #import <Foundation/Foundation.h> Index: L4Level.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Level.m,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- L4Level.m 18 Oct 2002 05:19:31 -0000 1.2 +++ L4Level.m 7 May 2003 07:16:40 -0000 1.3 @@ -1,10 +1,36 @@ -// -// L4Level.m -// Log4Cocoa -// -// Created by bfrank on Mon Mar 11 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import "L4Level.h" Index: L4LogLog.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4LogLog.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4LogLog.h 7 Oct 2002 07:52:13 -0000 1.1.1.1 +++ L4LogLog.h 7 May 2003 07:16:40 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4LogLog.h -// Log4Cocoa -// -// Created by bob on Thu Jun 06 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import <Foundation/Foundation.h> Index: L4LogLog.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4LogLog.m,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- L4LogLog.m 25 Oct 2002 01:34:57 -0000 1.2 +++ L4LogLog.m 7 May 2003 07:16:40 -0000 1.3 @@ -1,10 +1,36 @@ -// -// L4LogLog.m -// Log4Cocoa -// -// Created by bob on Thu Jun 06 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import "L4LogLog.h" Index: L4LogManager.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4LogManager.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4LogManager.h 7 Oct 2002 07:52:13 -0000 1.1.1.1 +++ L4LogManager.h 7 May 2003 07:16:40 -0000 1.2 @@ -1,10 +1,36 @@ -// -// L4LogManager.h -// Log4Cocoa -// -// Created by bfrank on Wed May 22 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import <Foundation/Foundation.h> #import "L4LoggerProtocols.h" Index: L4LogManager.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4LogManager.m,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- L4LogManager.m 25 Oct 2002 01:35:35 -0000 1.2 +++ L4LogManager.m 7 May 2003 07:16:40 -0000 1.3 @@ -1,10 +1,36 @@ -// -// L4LogManager.m -// Log4Cocoa -// -// Created by bfrank on Wed May 22 2002. -// Copyright (c) 2001 __MyCompanyName__. All rights reserved. -// +/**************************** +* +* Copyright (c) 2002, 2003, Bob Frank +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* - Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* - Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* +* - Neither the name of Log4Cocoa nor the names of its contributors or owners +* may be used to endorse or promote products derived from this software +* without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +****************************/ #import "L4LogManager.h" #import "L4RootLogger.h" Index: L4Logger.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Logger.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- L4Logger.h 18 Oct 20... [truncated message content] |
From: <cm...@us...> - 2003-05-07 07:16:49
|
Update of /cvsroot/log4cocoa/log4cocoa/English.lproj In directory sc8-pr-cvs1:/tmp/cvs-serv16412/English.lproj Modified Files: InfoPlist.strings Log Message: Update copyright information in all files to use the new BSD-style copyright notice. Index: InfoPlist.strings =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/English.lproj/InfoPlist.strings,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 Binary files /tmp/cvsPLqu0l and /tmp/cvsOxX6Nx differ |
From: <chi...@us...> - 2003-04-26 13:19:48
|
Update of /cvsroot/log4cocoa/log4cocoa/Log4Cocoa.pbproj In directory sc8-pr-cvs1:/tmp/cvs-serv2111/Log4Cocoa.pbproj Modified Files: bob.pbxuser project.pbxproj Log Message: added OPTIMIZATION_CFLAGS = -O3 for deployment build style Index: bob.pbxuser =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/Log4Cocoa.pbproj/bob.pbxuser,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- bob.pbxuser 7 Oct 2002 07:52:16 -0000 1.1.1.1 +++ bob.pbxuser 26 Apr 2003 13:19:44 -0000 1.2 @@ -7,95 +7,690 @@ 0867D69CFE84028FC02AAC07, ); perUserDictionary = { - PBXWorkspaceConfiguration = { - ContentSize = "{953, 923}"; - LeftSlideOut = { - ActiveTab = 0; - Frame = "{{0, 23}, {953, 900}}"; - Split0 = { - Frame = "{{319, 0}, {634, 900}}"; + PBXPerProjectTemplateStateSaveDate = 73021505; + PBXWorkspaceContents = ( + { + LeftSlideOut = { Split0 = { - Frame = "{{0, 24}, {634, 876}}"; + Split0 = { + NavContent0 = { + bookmark = C458FBFA045ABE8A0065302B; + history = ( + C41C05A2042714C500000103, + C41C05A3042714C500000103, + C41C05A4042714C500000103, + C41C05A5042714C500000103, + C41C05A6042714C500000103, + C41C05A7042714C500000103, + C41C05A8042714C500000103, + C41C05A9042714C500000103, + C41C05AA042714C500000103, + C41C05AB042714C500000103, + C41C05AC042714C500000103, + C41C05AD042714C500000103, + C41C05AE042714C500000103, + C41C05AF042714C500000103, + C41C05B0042714C500000103, + C41C05B1042714C500000103, + C458FBF1045ABE8A0065302B, + C458FBF2045ABE8A0065302B, + C458FBF3045ABE8A0065302B, + C458FBF4045ABE8A0065302B, + ); + prevStack = ( + C41C05B3042714C500000103, + C41C05B4042714C500000103, + C41C05B5042714C500000103, + C41C05B6042714C500000103, + C41C05B7042714C500000103, + C41C05B8042714C500000103, + C41C05B9042714C500000103, + C41C05BA042714C500000103, + C41C05BB042714C500000103, + C41C05BC042714C500000103, + C41C05BD042714C500000103, + C41C05BE042714C500000103, + C41C05BF042714C500000103, + C41C05C0042714C500000103, + C41C05C1042714C500000103, + C41C05C2042714C500000103, + C41C05C3042714C500000103, + C458FBF5045ABE8A0065302B, + C458FBF6045ABE8A0065302B, + C458FBF7045ABE8A0065302B, + C458FBF8045ABE8A0065302B, + C458FBF9045ABE8A0065302B, + ); + }; + NavCount = 1; + NavGeometry0 = { + Frame = "{{0, 0}, {937, 633}}"; + NavBarVisible = YES; + }; + NavSplitVertical = NO; + }; + SplitCount = 1; + Tab1 = { + Debugger = { + Split0 = { + SplitCount = 2; + }; + SplitCount = 1; + TabCount = 2; + }; + LauncherConfigVersion = 7; + }; + Tab2 = { + LauncherConfigVersion = 3; + Runner = { + }; + }; + TabCount = 5; }; SplitCount = 1; - Tab0 = { - Debugger = { - Frame = "{{0, 0}, {734, 221}}"; - Split0 = { - Frame = "{{0, 24}, {734, 197}}"; + Tab1 = { + OptionsSetName = "Hierarchy, all classes"; + }; + TabCount = 5; + }; + }, + ); + PBXWorkspaceGeometries = ( + { + ContentSize = "{1152, 680}"; + LeftSlideOut = { + ActiveTab = 3; + ActiveTabName = PBXTargetTreeModule; + Collapsed = NO; + Frame = "{{0, 23}, {1152, 657}}"; + Split0 = { + Collapsed = NO; + Frame = "{{215, 0}, {937, 657}}"; + Split0 = { + Frame = "{{0, 24}, {937, 633}}"; + }; + SplitCount = 1; + Tab0 = { + Frame = "{{0, 0}, {572, 214}}"; + }; + Tab1 = { + Debugger = { + Collapsed = NO; + Frame = "{{0, 0}, {572, 150}}"; Split0 = { - Frame = "{{0, 0}, {136, 197}}"; + Frame = "{{0, 24}, {572, 126}}"; + Split0 = { + Frame = "{{0, 0}, {279, 126}}"; + }; + Split1 = { + DebugVariablesTableConfiguration = ( + Name, + 123, + Value, + 85, + Summary, + 62.123, + ); + Frame = "{{288, 0}, {284, 126}}"; + }; + SplitCount = 2; }; - Split1 = { - Frame = "{{145, 0}, {589, 197}}"; + SplitCount = 1; + Tab0 = { + Frame = "{{0, 0}, {100, 50}}"; }; - SplitCount = 2; - }; - SplitCount = 1; - Tab0 = { - Frame = "{{0, 0}, {618, 50}}"; + Tab1 = { + Frame = "{{0, 0}, {100, 50}}"; + }; + TabCount = 2; + TabsVisible = YES; }; - Tab1 = { - Frame = "{{0, 0}, {733, 0}}"; + Frame = "{{0, 0}, {572, 125}}"; + LauncherConfigVersion = 7; + }; + Tab2 = { + Frame = "{{0, 0}, {572, 126}}"; + LauncherConfigVersion = 3; + Runner = { + Frame = "{{0, 0}, {572, 126}}"; }; - TabCount = 2; }; - Frame = "{{0, 0}, {734, 221}}"; - LauncherConfigVersion = 4; + Tab3 = { + BuildMessageFrame = "{{0, 0}, {717, 73}}"; + BuildTranscriptFrame = "{{0, 82}, {717, 161}}"; + BuildTranscriptFrameExpanded = YES; + Frame = "{{0, 0}, {715, 265}}"; + }; + Tab4 = { + Frame = "{{0, 0}, {572, 295}}"; + }; + TabCount = 5; + TabsVisible = YES; + }; + SplitCount = 1; + Tab0 = { + Frame = "{{0, 0}, {260, 657}}"; + GroupTreeTableConfiguration = ( + SCMStatusColumn, + 22, + TargetStatusColumn, + 18, + MainColumn, + 205, + ); }; Tab1 = { - Frame = "{{0, 0}, {706, 189}}"; - LauncherConfigVersion = 3; - Runner = { - Frame = "{{0, 0}, {706, 189}}"; - }; + ClassesFrame = "{{0, 0}, {247, 330}}"; + ClassesTreeTableConfiguration = ( + PBXBookColumnIdentifier, + 20, + PBXClassColumnIdentifier, + 204, + ); + Frame = "{{0, 0}, {245, 549}}"; + MembersFrame = "{{0, 339}, {247, 210}}"; + MembersTreeTableConfiguration = ( + PBXBookColumnIdentifier, + 20, + PBXMethodColumnIdentifier, + 203, + ); }; Tab2 = { - BuildMessageFrame = "{{0, 0}, {636, 140}}"; - BuildTranscriptFrame = "{{0, 149}, {636, 79}}"; - Frame = "{{0, 0}, {634, 226}}"; + Frame = "{{0, 0}, {226, 549}}"; }; Tab3 = { - Frame = "{{0, 0}, {634, 381}}"; - }; - TabCount = 4; - }; - SplitCount = 1; - Tab0 = { - Frame = "{{0, 0}, {295, 900}}"; - }; - Tab1 = { - ClassesFrame = "{{0, 0}, {292, 544}}"; - Frame = "{{0, 0}, {290, 896}}"; - MembersFrame = "{{0, 553}, {292, 343}}"; - OptionsSetName = "Hierarchy, project classes"; - }; - Tab2 = { - Frame = "{{0, 0}, {200, 100}}"; - }; - Tab3 = { - Frame = "{{0, 0}, {207, 900}}"; - Split0 = { - Frame = "{{0, 0}, {207, 411}}"; + Frame = "{{0, 0}, {191, 657}}"; + TargetTableConfiguration = ( + ActiveObject, + 16, + ObjectNames, + 202.296, + ); }; - Split1 = { - Frame = "{{0, 420}, {207, 480}}"; + Tab4 = { + BreakpointsTreeTableConfiguration = ( + breakpointColumn, + 138, + enabledColumn, + 31, + ); + Frame = "{{0, 0}, {191, 549}}"; }; - SplitCount = 2; - }; - Tab4 = { - Frame = "{{0, 0}, {273, 905}}"; + TabCount = 5; + TabsVisible = YES; }; - TabCount = 5; - }; - WindowLocation = "{15, 17}"; - }; + NavBarShownByDefault = YES; + StatusViewVisible = YES; + Template = F5F68CF101725D4C0D7A8F4C; + ToolbarVisible = YES; + WindowLocation = "{0, 4}"; + }, + ); + PBXWorkspaceStateSaveDate = 73021505; + }; + perUserProjectItems = { + C41C05A2042714C500000103 = C41C05A2042714C500000103; + C41C05A3042714C500000103 = C41C05A3042714C500000103; + C41C05A4042714C500000103 = C41C05A4042714C500000103; + C41C05A5042714C500000103 = C41C05A5042714C500000103; + C41C05A6042714C500000103 = C41C05A6042714C500000103; + C41C05A7042714C500000103 = C41C05A7042714C500000103; + C41C05A8042714C500000103 = C41C05A8042714C500000103; + C41C05A9042714C500000103 = C41C05A9042714C500000103; + C41C05AA042714C500000103 = C41C05AA042714C500000103; + C41C05AB042714C500000103 = C41C05AB042714C500000103; + C41C05AC042714C500000103 = C41C05AC042714C500000103; + C41C05AD042714C500000103 = C41C05AD042714C500000103; + C41C05AE042714C500000103 = C41C05AE042714C500000103; + C41C05AF042714C500000103 = C41C05AF042714C500000103; + C41C05B0042714C500000103 = C41C05B0042714C500000103; + C41C05B1042714C500000103 = C41C05B1042714C500000103; + C41C05B3042714C500000103 = C41C05B3042714C500000103; + C41C05B4042714C500000103 = C41C05B4042714C500000103; + C41C05B5042714C500000103 = C41C05B5042714C500000103; + C41C05B6042714C500000103 = C41C05B6042714C500000103; + C41C05B7042714C500000103 = C41C05B7042714C500000103; + C41C05B8042714C500000103 = C41C05B8042714C500000103; + C41C05B9042714C500000103 = C41C05B9042714C500000103; + C41C05BA042714C500000103 = C41C05BA042714C500000103; + C41C05BB042714C500000103 = C41C05BB042714C500000103; + C41C05BC042714C500000103 = C41C05BC042714C500000103; + C41C05BD042714C500000103 = C41C05BD042714C500000103; + C41C05BE042714C500000103 = C41C05BE042714C500000103; + C41C05BF042714C500000103 = C41C05BF042714C500000103; + C41C05C0042714C500000103 = C41C05C0042714C500000103; + C41C05C1042714C500000103 = C41C05C1042714C500000103; + C41C05C2042714C500000103 = C41C05C2042714C500000103; + C41C05C3042714C500000103 = C41C05C3042714C500000103; + C458FBF1045ABE8A0065302B = C458FBF1045ABE8A0065302B; + C458FBF2045ABE8A0065302B = C458FBF2045ABE8A0065302B; + C458FBF3045ABE8A0065302B = C458FBF3045ABE8A0065302B; + C458FBF4045ABE8A0065302B = C458FBF4045ABE8A0065302B; + C458FBF5045ABE8A0065302B = C458FBF5045ABE8A0065302B; + C458FBF6045ABE8A0065302B = C458FBF6045ABE8A0065302B; + C458FBF7045ABE8A0065302B = C458FBF7045ABE8A0065302B; + C458FBF8045ABE8A0065302B = C458FBF8045ABE8A0065302B; + C458FBF9045ABE8A0065302B = C458FBF9045ABE8A0065302B; + C458FBFA045ABE8A0065302B = C458FBFA045ABE8A0065302B; + }; + projectwideBuildSettings = { }; wantsIndex = 1; wantsSCM = -1; }; 0867D69CFE84028FC02AAC07 = { activeExec = 0; + }; + C41C05A2042714C500000103 = { + fRef = F5AD24F702B3CCEB01000102; + isa = PBXTextBookmark; + name = "L4Configurator.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 447; + vrLoc = 0; + }; + C41C05A3042714C500000103 = { + fRef = F591404F02A96C6901000102; + isa = PBXTextBookmark; + name = "L4ConsoleAppender.m: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 764; + vrLoc = 533; + }; + C41C05A4042714C500000103 = { + fRef = F591404E02A96C6901000102; + isa = PBXTextBookmark; + name = "L4ConsoleAppender.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 791; + vrLoc = 0; + }; + C41C05A5042714C500000103 = { + fRef = F591405802A96C6901000102; + isa = PBXTextBookmark; + name = "L4WriterAppender.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 950; + vrLoc = 0; + }; + C41C05A6042714C500000103 = { + fRef = F591404B02A96C6901000102; + isa = PBXTextBookmark; + name = "L4AppenderSkeleton.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 759; + vrLoc = 509; + }; + C41C05A7042714C500000103 = { + fRef = F591404C02A96C6901000102; + isa = PBXTextBookmark; + name = "L4AppenderSkeleton.m: 163"; + rLen = 0; + rLoc = 2890; + rType = 0; + vrLen = 571; + vrLoc = 2021; + }; + C41C05A8042714C500000103 = { + fRef = F5AD250002B45E9F01000102; + isa = PBXTextBookmark; + name = "L4SimpleLayout.m: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 944; + vrLoc = 0; + }; + C41C05A9042714C500000103 = { + fRef = F591405502A96C6901000102; + isa = PBXTextBookmark; + name = "L4Layout.m: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 512; + vrLoc = 0; + }; + C41C05AA042714C500000103 = { + fRef = F5BE209F02AF03EE01000102; + isa = PBXTextBookmark; + name = "L4RootLogger.m: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 613; + vrLoc = 0; + }; + C41C05AB042714C500000103 = { + fRef = F591406F02A96C8701000102; + isa = PBXTextBookmark; + name = "L4Logger.m: 229"; + rLen = 0; + rLoc = 4285; + rType = 0; + vrLen = 659; + vrLoc = 3905; + }; + C41C05AC042714C500000103 = { + fRef = F591404902A96C6901000102; + isa = PBXTextBookmark; + name = "L4AppenderAttachableImpl.m: 51"; + rLen = 0; + rLoc = 1072; + rType = 0; + vrLen = 914; + vrLoc = 558; + }; + C41C05AD042714C500000103 = { + fRef = F5AD24F802B3CCEB01000102; + isa = PBXTextBookmark; + name = "L4Configurator.m: initialize"; + rLen = 0; + rLoc = 352; + rType = 0; + vrLen = 330; + vrLoc = 0; + }; + C41C05AE042714C500000103 = { + fRef = F5842785035E7B0F01000102; + isa = PBXTextBookmark; + name = "L4PreprocessorStatics.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 355; + vrLoc = 0; + }; + C41C05AF042714C500000103 = { + fRef = F642027002B03EE001653044; + isa = PBXTextBookmark; + name = "L4NSObjectAdditions.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 262; + vrLoc = 0; + }; + C41C05B0042714C500000103 = { + fRef = F642027102B03EE001653044; + isa = PBXTextBookmark; + name = "L4NSObjectAdditions.m: __VERSION__"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 296; + vrLoc = 148; + }; + C41C05B1042714C500000103 = { + fRef = F591408402A96CA101000102; + isa = PBXTextBookmark; + name = "Log4Cocoa.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 639; + vrLoc = 72; + }; + C41C05B3042714C500000103 = { + fRef = F5AD24F702B3CCEB01000102; + isa = PBXTextBookmark; + name = "L4Configurator.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 447; + vrLoc = 0; + }; + C41C05B4042714C500000103 = { + fRef = F5AD24F802B3CCEB01000102; + isa = PBXTextBookmark; + name = "L4Configurator.m: 32"; + rLen = 78; + rLoc = 673; + rType = 0; + vrLen = 730; + vrLoc = 330; + }; + C41C05B5042714C500000103 = { + fRef = F591404E02A96C6901000102; + isa = PBXTextBookmark; + name = "L4ConsoleAppender.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 791; + vrLoc = 0; + }; + C41C05B6042714C500000103 = { + fRef = F591405802A96C6901000102; + isa = PBXTextBookmark; + name = "L4WriterAppender.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 950; + vrLoc = 0; + }; + C41C05B7042714C500000103 = { + fRef = F591404B02A96C6901000102; + isa = PBXTextBookmark; + name = "L4AppenderSkeleton.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 759; + vrLoc = 509; + }; + C41C05B8042714C500000103 = { + fRef = F591404C02A96C6901000102; + isa = PBXTextBookmark; + name = "L4AppenderSkeleton.m: 163"; + rLen = 0; + rLoc = 2890; + rType = 0; + vrLen = 571; + vrLoc = 2021; + }; + C41C05B9042714C500000103 = { + fRef = F5AD24F802B3CCEB01000102; + isa = PBXTextBookmark; + name = "L4Configurator.m: 24"; + rLen = 0; + rLoc = 504; + rType = 0; + vrLen = 699; + vrLoc = 330; + }; + C41C05BA042714C500000103 = { + fRef = F591405502A96C6901000102; + isa = PBXTextBookmark; + name = "L4Layout.m: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 512; + vrLoc = 0; + }; + C41C05BB042714C500000103 = { + fRef = F5BE209F02AF03EE01000102; + isa = PBXTextBookmark; + name = "L4RootLogger.m: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 613; + vrLoc = 0; + }; + C41C05BC042714C500000103 = { + fRef = F591406F02A96C8701000102; + isa = PBXTextBookmark; + name = "L4Logger.m: 229"; + rLen = 0; + rLoc = 4285; + rType = 0; + vrLen = 659; + vrLoc = 3905; + }; + C41C05BD042714C500000103 = { + fRef = F591404902A96C6901000102; + isa = PBXTextBookmark; + name = "L4AppenderAttachableImpl.m: 51"; + rLen = 0; + rLoc = 1072; + rType = 0; + vrLen = 914; + vrLoc = 558; + }; + C41C05BE042714C500000103 = { + fRef = F5AD24F802B3CCEB01000102; + isa = PBXTextBookmark; + name = "L4Configurator.m: initialize"; + rLen = 0; + rLoc = 352; + rType = 0; + vrLen = 330; + vrLoc = 0; + }; + C41C05BF042714C500000103 = { + fRef = F591408402A96CA101000102; + isa = PBXTextBookmark; + name = "Log4Cocoa.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 427; + vrLoc = 0; + }; + C41C05C0042714C500000103 = { + fRef = F5842785035E7B0F01000102; + isa = PBXTextBookmark; + name = "L4PreprocessorStatics.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 355; + vrLoc = 0; + }; + C41C05C1042714C500000103 = { + fRef = F642027002B03EE001653044; + isa = PBXTextBookmark; + name = "L4NSObjectAdditions.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 262; + vrLoc = 0; + }; + C41C05C2042714C500000103 = { + fRef = F642027102B03EE001653044; + isa = PBXTextBookmark; + name = "L4NSObjectAdditions.m: __VERSION__"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 296; + vrLoc = 148; + }; + C41C05C3042714C500000103 = { + fRef = F591408402A96CA101000102; + isa = PBXTextBookmark; + name = "Log4Cocoa.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 639; + vrLoc = 72; + }; + C458FBF1045ABE8A0065302B = { + fRef = F591406E02A96C8701000102; + isa = PBXTextBookmark; + name = "L4Logger.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 1195; + vrLoc = 2308; + }; + C458FBF2045ABE8A0065302B = { + isa = PBXTargetBookmark; + trg = 0867D69CFE84028FC02AAC07; + uiCtxt = { + TOCViewDetailVisibleRect = "{{0, 0}, {642, 68}}"; + TOCViewExpandedItems = ( + "com.apple.target-editor-pane.settings", + "com.apple.target-editor-pane.settings.simple", + "com.apple.target-editor-pane.info-plist", + "com.apple.target-editor-pane.info-plist.simple", + "com.apple.target-editor-pane.buildphases", + ); + TOCViewMasterVisibleRect = "{{0, 0}, {256, 579}}"; + TOCViewSelectedItems = ( + 0867D6A0FE84028FC02AAC07, + ); + }; + }; + C458FBF3045ABE8A0065302B = { + bstl = 014CEA440018CDF011CA2923; + isa = PBXBuildStyleBookmark; + }; + C458FBF4045ABE8A0065302B = { + bstl = 014CEA450018CDF011CA2923; + isa = PBXBuildStyleBookmark; + }; + C458FBF5045ABE8A0065302B = { + fRef = F591406E02A96C8701000102; + isa = PBXTextBookmark; + name = "L4Logger.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 1195; + vrLoc = 2308; + }; + C458FBF6045ABE8A0065302B = { + isa = PBXTargetBookmark; + trg = 0867D69CFE84028FC02AAC07; + uiCtxt = { + TOCViewDetailVisibleRect = "{{0, 0}, {642, 68}}"; + TOCViewExpandedItems = ( + "com.apple.target-editor-pane.settings", + "com.apple.target-editor-pane.settings.simple", + "com.apple.target-editor-pane.info-plist", + "com.apple.target-editor-pane.info-plist.simple", + "com.apple.target-editor-pane.buildphases", + ); + TOCViewMasterVisibleRect = "{{0, 0}, {256, 579}}"; + TOCViewSelectedItems = ( + 0867D6A0FE84028FC02AAC07, + ); + }; + }; + C458FBF7045ABE8A0065302B = { + bstl = 014CEA440018CDF011CA2923; + isa = PBXBuildStyleBookmark; + }; + C458FBF8045ABE8A0065302B = { + bstl = 014CEA450018CDF011CA2923; + isa = PBXBuildStyleBookmark; + }; + C458FBF9045ABE8A0065302B = { + bstl = 014CEA440018CDF011CA2923; + isa = PBXBuildStyleBookmark; + }; + C458FBFA045ABE8A0065302B = { + bstl = 014CEA450018CDF011CA2923; + isa = PBXBuildStyleBookmark; }; F591404802A96C6901000102 = { uiCtxt = { Index: project.pbxproj =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/Log4Cocoa.pbproj/project.pbxproj,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- project.pbxproj 2 Mar 2003 05:10:30 -0000 1.4 +++ project.pbxproj 26 Apr 2003 13:19:44 -0000 1.5 @@ -20,6 +20,7 @@ ); buildSettings = { COPY_PHASE_STRIP = YES; + OPTIMIZATION_CFLAGS = "-O3"; }; isa = PBXBuildStyle; name = Deployment; @@ -62,6 +63,7 @@ 014CEA440018CDF011CA2923, 014CEA450018CDF011CA2923, ); + hasScannedForEncodings = 1; isa = PBXProject; mainGroup = 0867D691FE84028FC02AAC07; productRefGroup = 034768DFFF38A50411DB9C8B; @@ -160,7 +162,6 @@ </dict> </plist> "; - shouldUseHeadermap = 1; }; 0867D69DFE84028FC02AAC07 = { buildActionMask = 2147483647; @@ -351,6 +352,7 @@ refType = 4; }; F5842785035E7B0F01000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4PreprocessorStatics.h; refType = 4; @@ -359,89 +361,109 @@ fileRef = F5842785035E7B0F01000102; isa = PBXBuildFile; settings = { + ATTRIBUTES = ( + Public, + ); }; }; F591404802A96C6901000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4AppenderAttachableImpl.h; refType = 4; }; F591404902A96C6901000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4AppenderAttachableImpl.m; refType = 4; }; F591404A02A96C6901000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4AppenderProtocols.h; refType = 4; }; F591404B02A96C6901000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4AppenderSkeleton.h; refType = 4; }; F591404C02A96C6901000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4AppenderSkeleton.m; refType = 4; }; F591404E02A96C6901000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4ConsoleAppender.h; refType = 4; }; F591404F02A96C6901000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4ConsoleAppender.m; refType = 4; }; F591405002A96C6901000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4FileAppender.h; refType = 4; }; F591405102A96C6901000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4FileAppender.m; refType = 4; }; F591405202A96C6901000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4Filter.h; refType = 4; }; F591405302A96C6901000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4Filter.m; refType = 4; }; F591405402A96C6901000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4Layout.h; refType = 4; }; F591405502A96C6901000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4Layout.m; refType = 4; }; F591405602A96C6901000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4RollingFileAppender.h; refType = 4; }; F591405702A96C6901000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4RollingFileAppender.m; refType = 4; }; F591405802A96C6901000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4WriterAppender.h; refType = 4; }; F591405902A96C6901000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4WriterAppender.m; refType = 4; @@ -576,56 +598,67 @@ }; }; F591406C02A96C8701000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4Level.h; refType = 4; }; F591406D02A96C8701000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4Level.m; refType = 4; }; F591406E02A96C8701000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4Logger.h; refType = 4; }; F591406F02A96C8701000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4Logger.m; refType = 4; }; F591407002A96C8701000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4LoggerProtocols.h; refType = 4; }; F591407102A96C8701000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4LoggerStore.h; refType = 4; }; F591407202A96C8701000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4LoggerStore.m; refType = 4; }; F591407402A96C8701000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4LoggingEvent.h; refType = 4; }; F591407502A96C8701000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4LoggingEvent.m; refType = 4; }; F591407602A96C8701000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4LogManager.h; refType = 4; }; F591407702A96C8701000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4LogManager.m; refType = 4; @@ -715,6 +748,7 @@ }; }; F591408402A96CA101000102 = { + fileEncoding = 30; isa = PBXFileReference; path = Log4Cocoa.h; refType = 4; @@ -729,11 +763,13 @@ }; }; F5AD24F702B3CCEB01000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4Configurator.h; refType = 4; }; F5AD24F802B3CCEB01000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4Configurator.m; refType = 4; @@ -754,11 +790,13 @@ }; }; F5AD24FB02B45E6E01000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4ErrorHandler.h; refType = 4; }; F5AD24FC02B45E6E01000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4ErrorHandler.m; refType = 4; @@ -779,11 +817,13 @@ }; }; F5AD24FF02B45E9F01000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4SimpleLayout.h; refType = 4; }; F5AD250002B45E9F01000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4SimpleLayout.m; refType = 4; @@ -804,11 +844,13 @@ }; }; F5AEAFC003101357013DC353 = { + fileEncoding = 30; isa = PBXFileReference; path = L4PatternLayout.h; refType = 4; }; F5AEAFC103101357013DC353 = { + fileEncoding = 30; isa = PBXFileReference; path = L4PatternLayout.m; refType = 4; @@ -829,11 +871,13 @@ }; }; F5BE209E02AF03EE01000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4RootLogger.h; refType = 4; }; F5BE209F02AF03EE01000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4RootLogger.m; refType = 4; @@ -854,11 +898,13 @@ }; }; F5BE20A202AF071001000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4RendererMap.h; refType = 4; }; F5BE20A302AF071001000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4RendererMap.m; refType = 4; @@ -879,11 +925,13 @@ }; }; F5BE20AA02AF27FE01000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4DefaultRenderer.h; refType = 4; }; F5BE20AB02AF27FE01000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4DefaultRenderer.m; refType = 4; @@ -954,6 +1002,7 @@ refType = 4; }; F5DEFB2F0351704B01000102 = { + fileEncoding = 30; isa = PBXFileReference; path = readme.txt; refType = 4; @@ -965,11 +1014,13 @@ }; }; F5E38662033CD46C01000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4CLogger.h; refType = 4; }; F5E38663033CD46C01000102 = { + fileEncoding = 30; isa = PBXFileReference; path = L4CLogger.m; refType = 4; @@ -1000,11 +1051,13 @@ //F63 //F64 F642026C02AFF63301653044 = { + fileEncoding = 30; isa = PBXFileReference; path = L4LogLog.h; refType = 4; }; F642026D02AFF63301653044 = { + fileEncoding = 30; isa = PBXFileReference; path = L4LogLog.m; refType = 4; @@ -1025,11 +1078,13 @@ }; }; F642027002B03EE001653044 = { + fileEncoding = 30; isa = PBXFileReference; path = L4NSObjectAdditions.h; refType = 4; }; F642027102B03EE001653044 = { + fileEncoding = 30; isa = PBXFileReference; path = L4NSObjectAdditions.m; refType = 4; |
From: <chi...@us...> - 2003-04-26 13:19:48
|
Update of /cvsroot/log4cocoa/log4cocoa In directory sc8-pr-cvs1:/tmp/cvs-serv2111 Modified Files: Log4Cocoa.h Log Message: added OPTIMIZATION_CFLAGS = -O3 for deployment build style Index: Log4Cocoa.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/Log4Cocoa.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- Log4Cocoa.h 7 Oct 2002 07:52:14 -0000 1.1.1.1 +++ Log4Cocoa.h 26 Apr 2003 13:19:44 -0000 1.2 @@ -25,3 +25,5 @@ #import "L4RootLogger.h" #import "L4SimpleLayout.h" #import "L4WriterAppender.h" + + |
From: <cm...@us...> - 2003-03-02 05:10:33
|
Update of /cvsroot/log4cocoa/log4cocoa/Log4Cocoa.pbproj In directory sc8-pr-cvs1:/tmp/cvs-serv28622/Log4Cocoa.pbproj Modified Files: project.pbxproj Log Message: Make L4PatternLayout.h and L4CLogger.h both public headers. Index: project.pbxproj =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/Log4Cocoa.pbproj/project.pbxproj,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- project.pbxproj 18 Oct 2002 05:24:57 -0000 1.3 +++ project.pbxproj 2 Mar 2003 05:10:30 -0000 1.4 @@ -817,6 +817,9 @@ fileRef = F5AEAFC003101357013DC353; isa = PBXBuildFile; settings = { + ATTRIBUTES = ( + Public, + ); }; }; F5AEAFC303101357013DC353 = { @@ -975,6 +978,9 @@ fileRef = F5E38662033CD46C01000102; isa = PBXBuildFile; settings = { + ATTRIBUTES = ( + Public, + ); }; }; F5E38665033CD46C01000102 = { |
From: <chi...@us...> - 2002-11-04 04:47:37
|
Update of /cvsroot/log4cocoa/log4cocoa In directory usw-pr-cvs1:/tmp/cvs-serv22390 Modified Files: readme.txt Log Message: added warning about commas in macros Index: readme.txt =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/readme.txt,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- readme.txt 18 Oct 2002 05:23:24 -0000 1.5 +++ readme.txt 4 Nov 2002 04:47:33 -0000 1.6 @@ -2,21 +2,38 @@ To make Log4Cocoa easier, there are several high level macros, as follows: -L4Debug(message); -L4Info(message); -L4Warn(message); -L4Error(message); -L4Fatal(message); +L4Debug((message)); +L4Info((message)); +L4Warn((message)); +L4Error((message)); +L4Fatal((message)); -L4DebugWithException(message, e); -L4InfoWithException(message, e); -L4WarnWithException(message, e); -L4ErrorWithException(message, e); -L4FatalWithException(message, e); +L4DebugWithException((message, e)); +L4InfoWithException((message, e)); +L4WarnWithException((message, e)); +L4ErrorWithException((message, e)); +L4FatalWithException((message, e)); -L4Assert(assertion, message); +L4Assert((assertion, message)); -Both versions of the Debug & Info macros expand into methods that are wrapped by an "isEnabled" if statement, like so: +**VERY IMPORTANT NOTE**: The second set of parenthesis are optional, however read the following note. Since these are macros, if you have a comma "," in your log statement, the gcc processor will assume that you have 2 arguments, even if you only have one. + +This statement: + L4Info([NSString stringWithFormat: @"Duration: %f", [end timeIntervalSinceDate: start]]); +will result in this error: + MyClass.m:44: too many args (2) to macro 'L4Info' (1 expected) + +Solution 1a: If you have commas in your log message line *ANYWHERE*, you can remove this issue by wraping your log message with an extra set of parenthesis as documented above, like so: + + L4Info(([NSString stringWithFormat: @"Duration: %f", [end timeIntervalSinceDate: start]])); + +Solution 1b: Or, you can re-write your log statement so that it does not include commas, like so: + + L4Info([@"Duration: " stringByAppendingString: [[NSNumber numberWithDouble: [end timeIntervalSinceDate: start]] stringValue]]); + +Obviously the second way can be coded in numeruous ways, but I just wanted to point out the two approaches. Clearly the second way is more cumbersome and not as straight forward, therefore if you use the first approach, it is important to remember to use 2 sets of parenthesis. + +Also, both versions of the Debug & Info macros expand into methods that are wrapped by an "isEnabled" if statement, like so: if([[self logger] isInfoEnabled]) [[self logger] lineNumber: __LINE__ fileName: __FILE__ |
From: <cm...@us...> - 2002-11-03 06:06:07
|
Update of /cvsroot/log4cocoa/log4cocoa In directory usw-pr-cvs1:/tmp/cvs-serv14662 Modified Files: L4WriterAppender.m L4Logger.m L4Configurator.m L4Configurator.h Log Message: Fix more misspellings of 'initializer'. Index: L4WriterAppender.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4WriterAppender.m,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- L4WriterAppender.m 25 Oct 2002 01:45:07 -0000 1.2 +++ L4WriterAppender.m 3 Nov 2002 06:06:03 -0000 1.3 @@ -24,7 +24,7 @@ - (id) initWithLayout: (L4Layout *) aLayout fileHandle: (NSFileHandle *) aFileHandle { - [self init]; // call designated initalizer + [self init]; // call designated initializer fileHandle= [aFileHandle retain]; [self setLayout: aLayout]; return self; Index: L4Logger.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Logger.m,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- L4Logger.m 3 Nov 2002 05:56:44 -0000 1.3 +++ L4Logger.m 3 Nov 2002 06:06:04 -0000 1.4 @@ -21,7 +21,7 @@ { // Making sure that we capture the startup time of // this application. This sanity check is also in - // +[L4Configurator initalize] too. + // +[L4Configurator initialize] too. // [L4LoggingEvent startTime]; Index: L4Configurator.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Configurator.m,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- L4Configurator.m 25 Oct 2002 01:32:05 -0000 1.2 +++ L4Configurator.m 3 Nov 2002 06:06:04 -0000 1.3 @@ -16,11 +16,11 @@ @implementation L4Configurator -+ (void) initalize ++ (void) initialize { // Making sure that we capture the startup time of // this application. This sanity check is also in - // +[L4Logger initalize] too. + // +[L4Logger initialize] too. // [L4LoggingEvent startTime]; } Index: L4Configurator.h =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Configurator.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- L4Configurator.h 7 Oct 2002 07:52:11 -0000 1.1.1.1 +++ L4Configurator.h 3 Nov 2002 06:06:04 -0000 1.2 @@ -14,7 +14,7 @@ } -+ (void) initalize; ++ (void) initialize; + (void) basicConfiguration; + (id) propertyForKey: (NSString *) aKey; |
From: <cm...@us...> - 2002-11-03 05:56:47
|
Update of /cvsroot/log4cocoa/log4cocoa In directory usw-pr-cvs1:/tmp/cvs-serv12544 Modified Files: L4Logger.m Log Message: Fix spelling of +[L4Logger initialize]. Index: L4Logger.m =================================================================== RCS file: /cvsroot/log4cocoa/log4cocoa/L4Logger.m,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- L4Logger.m 18 Oct 2002 05:20:29 -0000 1.2 +++ L4Logger.m 3 Nov 2002 05:56:44 -0000 1.3 @@ -17,7 +17,7 @@ @implementation L4Logger -+ (void) initalize ++ (void) initialize { // Making sure that we capture the startup time of // this application. This sanity check is also in |
From: <chi...@us...> - 2002-10-25 17:20:10
|
Update of /cvsroot/log4cocoa/log4cocoa In directory usw-pr-cvs1:/tmp/cvs-serv3537 Removed Files: Log4Cocoa.tgz Log Message: removed Log4Cocoa.tgz --- Log4Cocoa.tgz DELETED --- |