|
From: Michael T. <mj...@c-...> - 2003-07-10 21:30:07
|
Hi,
I'm attaching a diff showing the changes that I made. (My SourceForge
account, michaeltsai, isn't a member of the project.)
L4Logger.h - 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.
L4Logger.m - The macros all funnel through the new log4Log function,
which is defined here.
L4LevelTest.m - There's a simple method here just to exercise the
macros. It doesn't actually use ObjcUnit to do any assertions.
Log4Cocoa.pbproj/project.pbxproj - Sets CC to /usr/bin/gcc-3.3. I'm not
sure why, but without this it wouldn't compile on my machine.
L4SimpleLayout.m - This is unrelated to the variadic macros. I revised
-format: to be faster and (I think) clearer.
--
Michael Tsai <http://www.c-command.com> |