Class: Logdna::RailsLogger

Inherits:
Ruby
  • Object
show all
Includes:
Logdna
Defined in:
lib/logdna/rails.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_key, opts = {}) ⇒ RailsLogger

Returns a new instance of RailsLogger.



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

def initialize(api_key, opts={})
    super(api_key, opts)
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



8
9
10
# File 'lib/logdna/rails.rb', line 8

def api_key
  @api_key
end

#optsObject

Returns the value of attribute opts.



8
9
10
# File 'lib/logdna/rails.rb', line 8

def opts
  @opts
end