Class: Smplkit::Logging::LoggerChangeEvent

Inherits:
Struct
  • Object
show all
Defined in:
lib/smplkit/logging/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#levelObject

Returns the value of attribute level

Returns:

  • (Object)

    the current value of level



83
84
85
# File 'lib/smplkit/logging/client.rb', line 83

def level
  @level
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



83
84
85
# File 'lib/smplkit/logging/client.rb', line 83

def name
  @name
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



83
84
85
# File 'lib/smplkit/logging/client.rb', line 83

def source
  @source
end

Instance Method Details

#==(other) ⇒ Object



84
85
86
87
# File 'lib/smplkit/logging/client.rb', line 84

def ==(other)
  other.is_a?(LoggerChangeEvent) &&
    name == other.name && level == other.level && source == other.source
end