Re: NSLog err and debug?
Re: NSLog err and debug?
- Subject: Re: NSLog err and debug?
- From: Hsu <email@hidden>
- Date: Fri, 28 Mar 2003 08:34:19 -0800
By default, err and debug both go to stderr. out goes to the stdout.
The intent is was that WO itself uses err (always written), and debug
(conditionally written depending on log level and group settings).
Developers are free to use out as they wish.
Karl
On Wednesday, March 26, 2003, at 12:10 PM, Jonathan Rochkind wrote:
Under normal circumstances, where you haven't done anything to change
the defaults...
will NSLog.err.appendln and NSLog.debug.appendln go to the same place?
What's the difference anyway? Maybe debug will be output only
depending on the debugging properties set (but isn't it your
responsibility to ensure that in your own code, by checking
NSLog.debuggingAllowedFor... ?) but err will always be output?
Or are they exactly the same unless you set err or debug to be
something different? Can anyone explain this? When should I use one
and when the other for console/log output?
--Jonathan
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
--
Caffeine has been shown to cause laboratory experiments involving rats.
Homepage:
http://homepage.mac.com/khsu/index.html
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.