TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Michael Kamphausen, cg, Tino Rachui, Mathias Köhnke, Mathias Koehnke, Nico Schümann, Heiko Wichmann, Stephan Lerner, Famara Kassama.
Console logger supporting different log levels for different configurations. Logs debug output to console as alternative to NSLog. Supports log levels debug, info, warning, error.
Include header:
#import "APLLog.h"
Log levels are configurable for each configuration via custom build setting:
de.apploft.APLLog
= ${LOG_LEVEL}
to your project info.plistLOG_LEVEL
with values from -2 (= errors only) to 2 (= debug)Use APLLog(kAPLLogDebug, @"your output")
or APLLogDebug(@"your output")
or APLLogWarning(@"your output")
etc. in your code.