https://github.com/appsquickly/oclogtemplate
A flexible logging header for Objective-C.
https://github.com/appsquickly/oclogtemplate
Last synced: about 1 year ago
JSON representation
A flexible logging header for Objective-C.
- Host: GitHub
- URL: https://github.com/appsquickly/oclogtemplate
- Owner: appsquickly
- License: apache-2.0
- Created: 2011-11-21T00:02:25.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2018-04-29T11:19:22.000Z (about 8 years ago)
- Last Synced: 2024-03-26T04:57:12.039Z (about 2 years ago)
- Language: C
- Homepage:
- Size: 10.7 KB
- Stars: 15
- Watchers: 8
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A super-lightweight logging header for Objective-C projects. Based on Brenwill workshop's Flexible iOS Logging: http://brenwill.com/2010/flexible-ios-logging/
# FEATURES
* Just one file - use as an alternative to NSLog
* Supports multiple log levels - Debug, Info, Warning, Error, Trace
* Performance: Logging can be compiled in our out of code with one flag.
* Supports multiple formats - line numbers, file, etc.
# INSTALLING
Just include `OCLogTemplate.h` in your project.
Can be installed via CocoaPods too, for use as a transitive dependency in libraries, etc.
```ruby
pod 'OCLogTemplate'
```
# USAGE
```objc
LogDebug(@"Message: %@", formatArg);
```
# FULLY FLEDGED LOGGING TOOLS
But no doubt you've heard of those ;)