Hide app name from NSLog()

180 views Asked by At

I want to modify NSLog() so it only shows the current human readable timestamp, but no the app name.

This question shows how to remove both the app name and the timestamp in a very simple and elegant way.

Any easy and clean way of suppressing only the app name with macros? I wanted to avoid using an intermediate function with a NSDateFormatter object, etc.

0

There are 0 answers