Removes Static Analyzer Warning
1. Switch on logFlag rather than logLevel. logFlag varies per log messages, while logLevel is constant at file or even global scope. 2. Use the LOG_FLAG_* constants for each case clause.
The function dispatch_source_create can return NULL and clang's static analyzer complains about this. The code is moved inside a if-branch to execute it only when deleteTimer is not NULL.
Color Profile Background Color not being used.
…ivars into *.m file.
The Background Color from the Color Profile was not being used when logging. bgCode added to iovec in DDTTYLogger.
…k_include Changed public header location to match framework.
When a user wants to include lumberjack in a source file for both ios and mac, they previously had to use two different imports: Now, the ios build puts the headers in a "Lumberjack" directory so that consumers can do a single import for both platforms:
…o a known tty. If not, it would cease operations indefinitely. However, the known tty check wasn't always correct, and it didn't support remappings of stderr. Thus, this "internal optimization" has been removed in favor of allowing the developer to properly optimize externally. That is, one can easily not enable DDTTYLogger for release mode if unneeded.
…3c24951aae Refactor > Convert to modern Objective-C syntax
…urrounding log formatters (e.g. thread-unsafe classes such as NSDateFormatter)
…tch_retain & dispatch_release no longer needed with latest ARC) Fixes issue #42
… the format of the LOG_MACRO base macro. However all other macros keep their same format.)