Class: StackifyRubyAPM::Error::Log Private

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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(message, attrs = {})
  @message = message

  attrs.each do |key, val|
    send(:"#{key}=", val)
  end
end

Instance Attribute Details

#levelObject

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_nameObject

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

#messageObject

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
  @message
end

#param_messageObject

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
  @param_message
end

#stacktraceObject

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