Skip to content

appsquickly/OCLogTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

pod 'OCLogTemplate'

USAGE

LogDebug(@"Message: %@", formatArg);

FULLY FLEDGED LOGGING TOOLS

But no doubt you've heard of those ;)

About

A flexible logging header for Objective-C.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages