• 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: Cocoa and NSLog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa and NSLog


  • Subject: Re: Cocoa and NSLog
  • From: "Barry Wark" <email@hidden>
  • Date: Mon, 10 Nov 2008 16:19:23 -0800

On Sun, Nov 9, 2008 at 2:03 PM, Tommy Nordgren <email@hidden> wrote:
> Is it possible to open an Additional file for use by logging in Cocoa
> (I want it to contain ONLY the info logged from my App)

I would suggest you check out the Apple System Logging facility
(asl.h). It allows you to send messages to the console and/or to
additional files of your choice. It's relatively easy to wrap its
functionality in some NSLog-like macro.

> ------------------------------------------------------
> "Home is not where you are born, but where your heart finds peace" -
> Tommy Nordgren, "The dying old crone"
> email@hidden
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >Cocoa and NSLog (From: Tommy Nordgren <email@hidden>)

  • Prev by Date: Re: variable sensitive to Active Build Configuration
  • Next by Date: Re: Floating point pixel data / image handling confusion
  • Previous by thread: Re: Cocoa and NSLog
  • Next by thread: Subject: Re: Core Data entity fetching by date
  • Index(es):
    • Date
    • Thread