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



286
287
288
# File 'lib/smplkit/logging/client.rb', line 286

def level
  @level
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



286
287
288
# File 'lib/smplkit/logging/client.rb', line 286

def name
  @name
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



286
287
288
# File 'lib/smplkit/logging/client.rb', line 286

def source
  @source
end

Instance Method Details

#==(other) ⇒ Object



287
288
289
290
# File 'lib/smplkit/logging/client.rb', line 287

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