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

custom logging macros on top of lcl_log cannot be defined #4

Closed aharren closed 14 years ago

aharren commented 14 years ago

The main logging macro lcl_log doesn't allow the definition of custom logging macros on top of lcl_log, because the log component and the log level parts get expanded too early.

aharren commented 14 years ago

rewrite the lcl_log macro to support wrapping lcl_log into custom logging macros; closed by 59b5bbacf9d18407d8575eb07a38058d33a99721