Module: Bolt::Util::PuppetLogLevel

Defined in:
lib/bolt/util/puppet_log_level.rb

Constant Summary collapse

MAPPING =
{
  # Demote Puppet's logs by one level, since Puppet is an implementation detail of Bolt
  debug: :trace,
  info: :debug,
  notice: :info,
  warning: :warn,
  err: :error,
  # The following are used by Puppet functions of the same name, and are all treated as
  # error types in the Windows EventLog and log colors.
  alert: :error,
  emerg: :fatal,
  crit: :fatal
}.freeze