abeazam / PSLog

Replacement for NSLog that only logs in debug

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

None Dependant version of PSLog

Found this class in a few places very useful NSLog replacement.

Provides you with more information. Than the regular native log.

I have modified it so if you use NSLog it will be replaced with PSLog. If you only want to use PSLog log it removes the dependancy on this class so your classes can be used on other projects without needing this one included. 

This has only been applied to the PSLog function if you want to use the other PSLogs they will create a dependancy on the class.

USAGE:
Import it in the .pch which will put it in scope of the entire project and remove the need to add it to the head of every class.  
 

About

Replacement for NSLog that only logs in debug


Languages

Language:C 100.0%