Module: LogStruct::Log::Interfaces::CommonFields Abstract

Overview

This module is abstract.

Subclasses must implement the abstract methods below.

Instance Method Summary collapse

Instance Method Details

#eventEvent

This method is abstract.

Returns:



22
23
# File 'lib/log_struct/shared/interfaces/common_fields.rb', line 22

def event
end

#levelLevel

This method is abstract.

Returns:



26
27
# File 'lib/log_struct/shared/interfaces/common_fields.rb', line 26

def level
end

#serialize(strict = true) ⇒ Hash{Symbol => T.untyped}

This method is abstract.

Parameters:

  • strict (Boolean) (defaults to: true)

Returns:

  • (Hash{Symbol => T.untyped})


34
35
# File 'lib/log_struct/shared/interfaces/common_fields.rb', line 34

def serialize(strict = true)
end

#sourceSource

This method is abstract.

Returns:



18
19
# File 'lib/log_struct/shared/interfaces/common_fields.rb', line 18

def source
end

#timestampTime

This method is abstract.

Returns:

  • (Time)


30
31
# File 'lib/log_struct/shared/interfaces/common_fields.rb', line 30

def timestamp
end