Re: Callback when OS delivers console msg for my process?
Re: Callback when OS delivers console msg for my process?
- Subject: Re: Callback when OS delivers console msg for my process?
- From: "Adam R. Maxwell" <email@hidden>
- Date: Fri, 13 Nov 2009 13:55:27 -0800
On Nov 13, 2009, at 1:31 PM, Kyle Sluder wrote:
> 2009/11/13 Trygve Inda <email@hidden>:
>> How can I use an observer/exception handler or other notification to detect
>> such messages as NSImage accepts this image as valid when it is not.
>
> Break on NSLog (or perhaps CFLog).
Or maybe CGPostError or some other private logging function :/. To check it programmatically, the only thing I can think of is using asl(3) to query the log, but that's pretty gross...asl can be slow to update or search, and searching for a particular log string would be fragile.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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