Class: Logdna::RailsLogger
- Inherits:
-
Ruby
- Object
- Ruby
- Logdna::RailsLogger
- Includes:
- Logdna
- Defined in:
- lib/logdna/rails.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#opts ⇒ Object
Returns the value of attribute opts.
Instance Method Summary collapse
-
#initialize(api_key, opts = {}) ⇒ RailsLogger
constructor
A new instance of RailsLogger.
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_key ⇒ Object
Returns the value of attribute api_key.
8 9 10 |
# File 'lib/logdna/rails.rb', line 8 def api_key @api_key end |
#opts ⇒ Object
Returns the value of attribute opts.
8 9 10 |
# File 'lib/logdna/rails.rb', line 8 def opts @opts end |