aharren / LibComponentLogging-Core

A small logging library for Objective-C applications (Mac OS X and iPhone OS/iOS) which provides conditional logging based on log levels and log components. Additionally, different logging strategies can be used, e.g. writing log messages to a file or sending them to the system log, while using the same logging interface.
http://0xc0.de/LibComponentLogging
110 stars 11 forks source link

provide a #define which re-defines lcl_log(...) to an empty effect #7

Closed aharren closed 14 years ago

aharren commented 14 years ago

Provide a #define which can be used to remove logging calls from the code by re-defining lcl_log(...) to an empty effect.

aharren commented 14 years ago

if the preprocessor symbol _LCL_NO_LOGGING is defined, the lcl_log() log macro will be defined to an empty effect; closed by 4ac53f2e0b2ae5f76e0a06d4e54b4241b4ab372f