logging - iOS Swift - How to save Console Outputs as text files (i.e. println(), NSLog() ) -


i'm trying set simple logger application, , figured i'd more convenient if can nslog() onto text file. there simple method this?

you use asl, direct counterpart of syslog write directly text file.

some example code

useful link

documentation


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -