Latest | 0.1.9 |
---|---|
Homepage | https://github.com/drewg233/SlackyBeaver |
License | MIT |
Platforms | ios 8.0 |
Dependencies | SwiftyBeaver |
Authors |
Description
Takes the SwiftyBeaver library and will send a slack message of the logs whenever slacky.error(message) gets called.
Installation
SlackyBeaver is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod "SlackyBeaver"
Usage
Add that near the top of your AppDelegate.swift
to be able to use SwiftyBeaver in your whole project.
import SlackyBeaver
let slacky = SlackyBeaver(slackToken: "YOUR-SLACK-API-TOKEN-HERE", slackChannel: "ios-logs")
Then you can call
slacky.debug(message: "Here is first log")
slacky.verbose(message: "Here is second log")
slacky.info("Here is third log")
slacky.warning("Here is fourth log")
slacky.error("This will log, then send the logs to the slack channel")
Upon calling slacky.error
it will send the logs to the configured slack channel on a background thread.
Author
drewg233, [email protected]
License
SlackyBeaver is available under the MIT license. See the LICENSE file for more info.
Latest podspec
{ "name": "SlackyBeaver", "version": "0.1.9", "summary": "Uses SwiftyBeaver file logging to send logs via slack when an issue arrises.", "description": "TODO: Add long description of the pod here.", "homepage": "https://github.com/drewg233/SlackyBeaver", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "drewg233": "[email protected]" }, "source": { "git": "https://github.com/drewg233/SlackyBeaver.git", "tag": "0.1.9" }, "platforms": { "ios": "8.0" }, "source_files": "SlackyBeaver/Classes/**/*", "dependencies": { "SwiftyBeaver": [] }, "pushed_with_swift_version": "3.0" }
Wed, 21 Jun 2017 14:00:27 +0000