Re: Cocoa and NSLog
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