Class: ElasticAPM::Error::Log Private
- Inherits:
-
Object
- Object
- ElasticAPM::Error::Log
- Defined in:
- lib/elastic_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.
24 25 26 27 28 29 30 |
# File 'lib/elastic_apm/error/log.rb', line 24 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.
32 33 34 |
# File 'lib/elastic_apm/error/log.rb', line 32 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.
32 33 34 |
# File 'lib/elastic_apm/error/log.rb', line 32 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.
32 33 34 |
# File 'lib/elastic_apm/error/log.rb', line 32 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.
32 33 34 |
# File 'lib/elastic_apm/error/log.rb', line 32 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.
32 33 34 |
# File 'lib/elastic_apm/error/log.rb', line 32 def stacktrace @stacktrace end |