Modidfy the official wapper to support Swift 2.0
pod 'CocoaLumberjack'
path-to-project-dir/Pods/CocoaLumberjack/Classes/CocoaLumberjack.swift
#import "CocoaLumberjack.h"
#import "DDMultiFormatter.h" func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
// Override point for customization after application launch.
// Initialize the logger
defaultDebugLevel = DDLogLevel.Verbose
DDLog.addLogger(DDASLLogger.sharedInstance())
DDLog.addLogger(DDTTYLogger.sharedInstance())
return true
} func logSomething() {
DDLogVerbose("Verbose");
DDLogDebug("Debug");
DDLogInfo("Info");
DDLogWarn("Warn");
DDLogError("Error");
}
