Class: Temporalio::Runtime::LoggingFilterOptions

Inherits:
Data
  • Object
show all
Defined in:
lib/temporalio/runtime.rb,
lib/temporalio/runtime.rb

Overview

Logging filter options for Core.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(core_level: 'WARN', other_level: 'ERROR') ⇒ LoggingFilterOptions

Create logging filter options.

Parameters:

  • core_level ('TRACE', 'DEBUG', 'INFO', 'WARN', 'ERROR') (defaults to: 'WARN')

    Log level for Core log messages.



97
98
99
# File 'lib/temporalio/runtime.rb', line 97

def initialize(core_level: 'WARN', other_level: 'ERROR')
  super
end

Instance Attribute Details

#core_level'TRACE', ...

Returns Log level for Core log messages.

Returns:

  • ('TRACE', 'DEBUG', 'INFO', 'WARN', 'ERROR')

    Log level for Core log messages.



92
93
94
# File 'lib/temporalio/runtime.rb', line 92

def core_level
  @core_level
end

#other_level'TRACE', ...

Returns Log level for other Rust log messages.

Returns:

  • ('TRACE', 'DEBUG', 'INFO', 'WARN', 'ERROR')

    Log level for other Rust log messages.



92
93
94
# File 'lib/temporalio/runtime.rb', line 92

def other_level
  @other_level
end