If you're using OS X 10.4 or later, you may want to check out the
Apple System Logger facility (a great series of posts on ASL start at
http://boredzo.org/blog/archives/2008-01-19/next-week-apple-system-logger).
It's not too hard to write your own Objective-C/#define wrapper around
ASL to get much
On 26 feb 2008, at 14.31, Philip Bridson wrote:
Yeah that is what I mean. I was reading in the Documentation though
that paths to file system folders should not be hard coded. This may
sound a little dumb but is the freopen a C function? I used to write
in C++ before Obj-C so I haven't use
Le 26 févr. 08 à 14:31, Philip Bridson a écrit :
Yeah that is what I mean. I was reading in the Documentation though
that paths to file system folders should not be hard coded.
Yes.. I guess good programmers should use methods described in:
http://developer.apple.com/documentation/Cocoa/Concep
Yeah that is what I mean. I was reading in the Documentation though
that paths to file system folders should not be hard coded. This may
sound a little dumb but is the freopen a C function? I used to write
in C++ before Obj-C so I haven't used it before. Is it best to use
this method or to
Le 26 févr. 08 à 11:53, Philip Bridson a écrit :
Is event logging really as easy as just declaring the location of
the application log directory and then passing the relevant event
string to NSLog which will "know" where to write the event?
I'm not sure what you mean when you say "event log