Skip to content

appsquickly/OCLogTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Jasper Blues
Apr 29, 2018
c3ba762 · Apr 29, 2018

History

18 Commits
Feb 16, 2015
Apr 22, 2014
Feb 16, 2015
Apr 29, 2018

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 ;)