Class: Kafka::FFI::Event::LogMessage

Inherits:
Struct
  • Object
show all
Defined in:
lib/kafka/ffi/event.rb

Overview

LogMessage is attached to RD_KAFKA_EVENT_LOG events.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#facility ⇒ Object

Returns the value of attribute facility

Returns:

  • (Object) —

    the current value of facility



8
9
10
# File 'lib/kafka/ffi/event.rb', line 8

def facility
  @facility
end

#level ⇒ Object

Returns the value of attribute level

Returns:

  • (Object) —

    the current value of level



8
9
10
# File 'lib/kafka/ffi/event.rb', line 8

def level
  @level
end

#message ⇒ Object

Returns the value of attribute message

Returns:

  • (Object) —

    the current value of message



8
9
10
# File 'lib/kafka/ffi/event.rb', line 8

def message
  @message
end

Instance Method Details

#to_s ⇒ Object



13
14
15
# File 'lib/kafka/ffi/event.rb', line 13

def to_s
  message
end