Latest 1.0.0
License MIT
Platforms ios 7.0, osx 10.9, requires ARC
Dependencies AFNetworking, CocoaLumberjack

Build Status
Pod Version
Pod Platform
Pod License
Coverage Status

A Logger for CocoaLumberjack that writes to a custom Slack Channel



Install with CocoaPods by adding the following to your Podfile:


platform :ios, '7.0'
pod 'THSlackLogger', '~> 1.0.0'


platform :ios, '8.0'
pod 'THSlackLogger', '~> 1.0.0'

Note: We follow for versioning the public API.


This is a sample initialization taken from the ExampleProject.

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    [DDLog addLogger:[DDTTYLogger sharedInstance]]; // TTY = Xcode console
    [DDLog addLogger:[DDASLLogger sharedInstance]]; // ASL = Apple System Logs

     First method is to directly add the URL at first init
    //[DDLog addLogger:[THSlackLogger initWithWebhookURL:[NSURL URLWithString:@""]]];
     ...if not, then add a Slack.plist file to your main bundle including a key named "webHookUrl" with the URL as String value
    [DDLog addLogger:[THSlackLogger sharedInstance]];
    return YES;


…are really welcome. If you have an idea just fork the library change it and if its useful for others and not affecting the functionality of the library for other users I’ll insert it


Source code of this project is available under the standard MIT license. Please see the license file.

Latest podspec

    "name": "THSlackLogger",
    "version": "1.0.0",
    "summary": "Cocoalumberjack logger to Slack",
    "description": "A Logger for [CocoaLumberjack]( that writes to a custom Slack Channel",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": ""
    "authors": {
        "Hannes Tribus": "[email protected]"
    "platforms": {
        "ios": "7.0",
        "osx": "10.9"
    "source": {
        "git": "",
        "tag": "1.0.0"
    "source_files": "THSlackLogger/*.{h,m}",
    "requires_arc": true,
    "dependencies": {
        "AFNetworking": [
            "~> 3.0.4"
        "CocoaLumberjack": [
            "~> 2.2.0"

Pin It on Pinterest

Share This