On Jan 21, 2009, at 4:56 PM, Barry Wark wrote:
On Wed, Jan 21, 2009 at 1:15 PM, Kyle Sluder <kyle.slu...@gmail.com> wrote:
On Wed, Jan 21, 2009 at 2:58 PM, Robert Kukuchka <rkukuc...@gmail.com> wrote:
      I'm looking into logging frameworks and see references to this
project. Does anyone know if this project is still running? I was hoping to find some examples of how to get things setup. Anyone here use it within a commercial application? Our Mac team is small, so if I don't have to "roll
my own", I'd rather not.
Why not use ASL, since it's built into the OS?
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man3/asl.3.html
+1
ASL supports logging level filtering and redirection to one or more
URLs. It's a C library, but it's quite trivial to write an ObjC
wrapper on top (email me offline, if you'd like to take a look a my
code; I'm not quite ready to release it publically).

	There are a number of reasons to use Log4Cocoa over something like  
ASL.  The fact that it already supports Obj-C is the least of them.
* It supports various logging levels,
* supports logging to other than the default system file,
* different logging levels for different classes. This is a biggie, as often when you are debugging, you want to see very detailed log messages, but only for the class or subsystem of interest. * the ability to configure logging from a config file or programatically,
* the ability to change logging level without restarting the app,
* custom formatting of output,
* automatic log rotation,
* and others.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to