Skip to content

games-neox/GNLog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GNLog

CI Status Version License Platform

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.

About

Logging utility for Objective-C/Swift

Resources

License

Stars

Watchers

Forks

Packages

No packages published