An open API service indexing awesome lists of open source software.

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.

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

* CoocaLumberjack
* NSLogger

But no doubt you've heard of those ;)