• 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 won't go to run log window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLog won't go to run log window


  • Subject: Re: NSLog won't go to run log window
  • From: "Peter.Teeson" <email@hidden>
  • Date: Wed, 21 Apr 2004 12:50:28 -0400

The documentation for NSLogv (which is called by NSLog) states:
"NSLogv writes the log to STDERR_FILENO if the file descriptor is open.
If that write attempt fails, the message is sent to the syslog
subsystem, if it exists on a platform, with the LOG_USER facility (or
default facility if LOG_USER does not exist), with priority LOG_ERR (or
similar). If both of these attempts to write the message fail, the
message is discarded."

So what about the file descriptor for STDERR_FILENO?

respect...

Peter
On Apr 21, 2004, at 10:19, email@hidden wrote:

> Howdy all,
>
> I just fired up xcode after being away form it for a while and I cannot
> seem to get NSLog to work the way I remember that it did.  This may
> just
> be a case of operator error but NSLog output always goes to system.log
> and
> does not show up in the "Run log window" or in the "Console drawer" in
> the
> debugger.  I tried creating a fresh project with a single button and a
> call to NSLog to test things and it still only goes via the syslog
> route.
>
> It is kind of annoying to have to watch my debug messages via
> console.app
> since syslogd adds some delay and summarizes the results.
>
> Any ideas?
> Thanks a bunch,
> -Eric
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: NSLog won't go to run log window
      • From: email@hidden
References: 
 >NSLog won't go to run log window (From: email@hidden)

  • Prev by Date: Re: NSLog won't go to run log window
  • Next by Date: Re: NSLog won't go to run log window
  • Previous by thread: Re: NSLog won't go to run log window
  • Next by thread: Re: NSLog won't go to run log window
  • Index(es):
    • Date
    • Thread