Module: LogStruct::Log::Interfaces::PublicCommonFields Abstract

Extended by:
T::Helpers, T::Sig
Defined in:
lib/log_struct/shared/interfaces/public_common_fields.rb

Overview

This module is abstract.

Subclasses must implement the abstract methods below.

Instance Method Summary collapse

Instance Method Details

#levelLevel

This method is abstract.

Returns:



16
17
# File 'lib/log_struct/shared/interfaces/public_common_fields.rb', line 16

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})


24
25
# File 'lib/log_struct/shared/interfaces/public_common_fields.rb', line 24

def serialize(strict = true)
end

#timestampTime

This method is abstract.

Returns:

  • (Time)


20
21
# File 'lib/log_struct/shared/interfaces/public_common_fields.rb', line 20

def timestamp
end