Class: Lumberjack::HerokuDevice

Inherits:
Device
  • Object
show all
Defined in:
lib/lumberjack_heroku_device.rb

Overview

This Lumberjack device logs output to Heroku’s logging system.

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ HerokuDevice

Returns a new instance of HerokuDevice.



7
8
# File 'lib/lumberjack_heroku_device.rb', line 7

def initialize(*args)
end

Instance Method Details

#write(entry) ⇒ Object



10
11
12
# File 'lib/lumberjack_heroku_device.rb', line 10

def write(entry)
  puts entry
end