Sha256: f4a6e9fe249f4e90ddb27de35c641cbe86c592bbcb8cd324fb0fb3d1f3dd3178

Contents?: true

Size: 415 Bytes

Versions: 8

Compression:

Stored size: 415 Bytes

Contents

# encoding: utf-8
require 'rubygems'
require "mongo"

module RabbitHutch
  class ConsoleConsumer
      
    def initialize()
      puts "\tInitializing Console Consumer"
    end
        
    def log_event(item)
      begin  
        puts "console"
        puts item
      rescue Exception => e
        puts "Error occurred Message Handler trying to write messages to Log #{e.inspect}" 
      end
    end 
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dafiti-rabbit-hutch-0.1.12 lib/consumers/console_consumer.rb
dafiti-rabbit-hutch-0.1.11 lib/consumers/console_consumer.rb
dafiti-rabbit-hutch-0.1.10 lib/consumers/console_consumer.rb
dafiti-rabbit-hutch-0.1.9 lib/consumers/console_consumer.rb
dafiti-rabbit-hutch-0.1.5 lib/consumers/console_consumer.rb
dafiti-rabbit-hutch-0.1.4 lib/consumers/console_consumer.rb
dafiti-rabbit-hutch-0.1.1 lib/consumers/console_consumer.rb
dafiti-rabbit-hutch-0.1.0 lib/consumers/console_consumer.rb