Re: Logging to text files
Re: Logging to text files
- Subject: Re: Logging to text files
- From: Brian Amerige <email@hidden>
- Date: Thu, 5 Jul 2007 11:23:21 -0400
Just use an NSMutableString to keep the log in, and use NSString's
writeToFile:atomically:encoding:error to write it to a file.
Brian Amerige: Software at Extendmac
email@hidden | aim - applejustworks
On Jul 5, 2007, at 9:02 AM, Devraj Mukherjee wrote:
Hi everyone,
Can NSLog be used to write a Log file? If not how do I write to a Log
file that can be rotated. Much like BSD log files
Thanks
--
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
_______________________________________________
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