GNLog 0.5.0

GNLog 0.5.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jan 2017

Maintained by Games Neox.



GNLog 0.5.0

  • By
  • Games Neox

Logging utility for Objective-C/Swift with support of log levels. Log levels visible in release builds: INFO, WARN, ERROR
Log levels visible in debug builds: VERBOSE, DEBUG, INFO, WARN, ERROR

C-like macros: LOG_PRINT_* & LOG_WRITE_*, e.g.:
LOG_PRINT_VERBOSE(@"LOG_TAG", @"TEXT FORMAT:%@", @"TEXT PARAMETER")
LOG_WRITE_DEBUG(@"LOG_TAG", @"TEXT")

Swift-dedicated functions: logWrite*, e.g.:
logWriteInfo("LOG_TAG", "TEXT")
logWriteWarn("LOG_TAG", "TEXT FORMAT:\("TEXT PARAMETER")")

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Minimum supported iOS version: 8.x

Installation

GNLog is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "GNLog"

Author

Games Neox, [email protected]

License

GNLog is available under the MIT license. See the LICENSE file for more info.