Class: CemAcpt::Logging::Formatter::GithubActionFormatter

Inherits:
FileFormatter
  • Object
show all
Defined in:
lib/cem_acpt/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.



84
85
86
87
# File 'lib/cem_acpt/logging/formatter.rb', line 84

def initialize
  super
  @log_format = :github_action
end