No commit activity in last 3 years
No release in over 3 years
Campfire channel for Blabber.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 2.0.0
~> 0.3.0
 Project Readme

Blabber-Campfire

Blabber-Campfire is a channel for Blabber that will send messages to campfire.

Installation

$ gem install blabber-campfire

Example

require "blabber"
require "blabber/campfire"

all_standard_loglevels = ['INFO', 'WARN', 'ERROR', 'DEBUG']

blabber = Blabber::Blabber.new([
      {'channel' => 'Blabber::Console', 'loglevels' => all_standard_loglevels},
      {'channel' => 'Blabber::Campfire', 
        'account' => 'campfireaccount', 
        'token' => 'abc123', 
        'room' => 'My Room',
        'loglevels' => ['INFO', 'WARN', 'ERROR', 'DEBUG', 'CAMPFIRE']
    }])

blabber.debug("debug msg")
blabber.info("info msg")
blabber.error("error msg")
blabber.warn("warn msg")
blabber.debug("multiline\nmessage")
blabber.campfire("just to campfire")