Class: StackifyRubyAPM::Error::Log Private
- Inherits:
-
Object
- Object
- StackifyRubyAPM::Error::Log
- Defined in:
- lib/stackify_apm/error/log.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #level ⇒ Object private
- #logger_name ⇒ Object private
- #message ⇒ Object private
- #param_message ⇒ Object private
- #stacktrace ⇒ Object private
Instance Method Summary collapse
-
#initialize(message, attrs = {}) ⇒ Log
constructor
private
A new instance of Log.
Constructor Details
#initialize(message, attrs = {}) ⇒ Log
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Log.
7 8 9 10 11 12 13 |
# File 'lib/stackify_apm/error/log.rb', line 7 def initialize(, attrs = {}) @message = attrs.each do |key, val| send(:"#{key}=", val) end end |
Instance Attribute Details
#level ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 16 17 |
# File 'lib/stackify_apm/error/log.rb', line 15 def level @level end |
#logger_name ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 16 17 |
# File 'lib/stackify_apm/error/log.rb', line 15 def logger_name @logger_name end |
#message ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 16 17 |
# File 'lib/stackify_apm/error/log.rb', line 15 def @message end |
#param_message ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 16 17 |
# File 'lib/stackify_apm/error/log.rb', line 15 def @param_message end |
#stacktrace ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 16 17 |
# File 'lib/stackify_apm/error/log.rb', line 15 def stacktrace @stacktrace end |