• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSLog err and debug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: NSForwardException and InvocationTargetException?
  • Next by Date: (no subject)
  • Previous by thread: Re: NSLog err and debug?
  • Next by thread: NSForwardException and InvocationTargetException?
  • Index(es):
    • Date
    • Thread