Include an File to SNLog
Posted by Anonymous on 2013-01-06 04:39
Hello,
where have i write this?
In the File where i will log or can i write it in the Delegate-File
Adds logging to a file:
SNFileLogger *logger = [[SNFileLoggeralloc] initWithPathAndSize:@"path_to/log.txt"]: 100000];
[[SNLoglogManager] addLogStrategy:logger];
[logger release];
Thanks,
where have i write this?
In the File where i will log or can i write it in the Delegate-File
Adds logging to a file:
SNFileLogger *logger = [[SNFileLoggeralloc] initWithPathAndSize:@"path_to/log.txt"]: 100000];
[[SNLoglogManager] addLogStrategy:logger];
[logger release];
Thanks,
Home / Developer API / Tour / Get a Project - Solutions for Bug & Issue Tracking, Collaboration Tools, Subversion Hosting, Git Hosting
Snlog is powered by Assembla.
1 Comments
By JAgostoni on 2013-01-06 06:10