NSLog output to file, or external logging function for iOS -


I want to write the contents of N slog to the specified file, or I need the function That writes a log in a file, for example:

  WriteLog (@ "Some Activities by User"); WriteLog (@ "Some More Activity by User");  

But I want to see the output like this:

  12-25-2009 1:30:00 AM Some activity by user 12-25- 2009 1:35:00 PM Some other activity by user  

Does anyone know how I can do this? Note that I need a date and time at the beginning of the line

In addition, for some reason, the freephone will not write any data in the file, this will make the file, There will be no output only!

I wrote my log to record my file but I found out that in most cases debugger It was easy to copy the contents of the console, paste it into a file and use the edit or script if it is needed, process it, it works well for a very large dump, I also covered the tables on that side. It is incompatible, but by the way, files With faster and less error prone than futzing.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -