NSLog Closing Date

I find NSLog () instructions to be very difficult to read due to the detailed date.

Is there a way to suppress a date in NSLog?

+3
source share
2 answers

Check out: http://cocoaheads.byu.edu/wiki/different-nslog This is a page on our CocoaHeads wiki that explains how to create your own alternative NSLog()(which does useful things like print file name and line number).

+9
source

No, you have to write your own log method if you want it in a different format.

+2
source

Source: https://habr.com/ru/post/1722393/


All Articles