Class: Atatus::Error::Log Private

Inherits:
Object
  • Object
show all
Defined in:
lib/atatus/error/log.rb

Overview

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.

API:

  • private

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.

API:

  • private



24
25
26
27
28
29
30
# File 'lib/atatus/error/log.rb', line 24

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.

API:

  • private



32
33
34
# File 'lib/atatus/error/log.rb', line 32

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.

API:

  • private



32
33
34
# File 'lib/atatus/error/log.rb', line 32

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.

API:

  • private



32
33
34
# File 'lib/atatus/error/log.rb', line 32

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.

API:

  • private



32
33
34
# File 'lib/atatus/error/log.rb', line 32

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.

API:

  • private



32
33
34
# File 'lib/atatus/error/log.rb', line 32

def stacktrace
  @stacktrace
end