Latest 0.2.0
Homepage https://github.com/yusuga/LumberjackLauncher
License MIT
Platforms ios 7.0, requires ARC
Dependencies CocoaLumberjack, LumberjackConsole

Very simple CocoaLumberjack launcher.

Features

Installation

pod 'LumberjackLauncher'

Usage

Launch logger

Launch Xcode console logger and Apple system logger.

[LumberjackLauncher launchStandardLoggers];

Dynamically changing log levels

[LumberjackLauncher changeStandardLoggersLevel:DDLogLevelWarning];

Set Xcode console log colors

[LumberjackLauncher setXcodeConsoleLogColorsWithErrorColor:[UIColor redColor]
                                              warningColor:[UIColor yellowColor]
                                                 infoColor:[UIColor darkGrayColor]
                                                debugColor:[UIColor greenColor]
                                              verboseColor:nil];

Show/Hide console in app

[LumberjackLauncher showAppConsole];

[LumberjackLauncher hideAppConsole];

Tips

Force synchronous logging

#if defined(LOG_ASYNC_ENABLED)
#undef LOG_ASYNC_ENABLED
#define LOG_ASYNC_ENABLED NO
#endif

Latest podspec

{
    "name": "LumberjackLauncher",
    "version": "0.2.0",
    "summary": "Very simple CocoaLumberjack launcher.",
    "homepage": "https://github.com/yusuga/LumberjackLauncher",
    "license": "MIT",
    "authors": "Yu Sugawara",
    "source": {
        "git": "https://github.com/yusuga/LumberjackLauncher.git",
        "tag": "0.2.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "Classes/LumberjackLauncher/*.{h,m}",
    "requires_arc": true,
    "dependencies": {
        "CocoaLumberjack": [
            "3.3.0"
        ],
        "LumberjackConsole": []
    }
}

Pin It on Pinterest

Share This