Latest 0.1.0
Homepage https://github.com/ouralabs/DDOuralabsLogger
License MIT
Platforms ios 7.0, requires ARC
Dependencies CocoaLumberjack, Ouralabs
Authors

Requirements

DDOuralabsLogger requires that Ouralabs is integrated.

Dependencies

Installation

DDOuralabsLogger is available through CocoaPods. To install
it, add the following line to your Podfile:

pod "DDOuralabsLogger"

In your app delegate, add the Ouralabs logger to CocoaLumberjack. This logger simply forwards logs to the Ouralabs.

[DDLog addLogger:[DDOuralabsLogger sharedInstance] withLevel:DDLogLevelAll];

To use the dynamic log levels, see the CocoaLumberjack documentation

Use the following code to determine what log level should be applied.

[Ouralabs setSettingsChangedBlock:^(BOOL liveTail, OULogLevel logLevel) {
    // Set the appropriate log level based on logLevel.
}];

The settingsChangedBlock gets called every time Ouralabs detects that there is a settings change. Settings can be changed either from the Ouralabs dashboard or the sdk itself.

Author

Ouralabs, [email protected]

License

DDOuralabsLogger is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "DDOuralabsLogger",
    "version": "0.1.0",
    "summary": "The official Ouralabs integration for CocoaLumberjack",
    "homepage": "https://github.com/ouralabs/DDOuralabsLogger",
    "license": "MIT",
    "authors": {
        "Ouralabs": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ouralabs/DDOuralabsLogger.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/ouralabs",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/DDOuralabsLogger.{h,m}",
    "dependencies": {
        "CocoaLumberjack": [],
        "Ouralabs": []
    }
}

Pin It on Pinterest

Share This