Class: CemWinSpec::Logging::Formatter::GithubActionFormatter

Inherits:
FileFormatter
  • Object
show all
Defined in:
lib/cem_win_spec/logging/formatter.rb

Constant Summary collapse

SEV_MAP =
{
  'DEBUG' => '::debug',
  'INFO' => '::notice',
  'WARN' => '::warning',
  'ERROR' => '::error',
  'FATAL' => '::error',
}.freeze

Instance Attribute Summary

Attributes inherited from FileFormatter

#log_format

Instance Method Summary collapse

Methods inherited from FileFormatter

#get

Constructor Details

#initializeGithubActionFormatter

Returns a new instance of GithubActionFormatter.



80
81
82
83
# File 'lib/cem_win_spec/logging/formatter.rb', line 80

def initialize
  super
  @log_format = :github_action
end