Sha256: 28a4dd0449b85ed198479170a44531ea7ff82215133515d987d6bf3c503e7a47

Contents?: true

Size: 471 Bytes

Versions: 91

Compression:

Stored size: 471 Bytes

Contents

# frozen_string_literal: true

module Bolt
  module Util
    module PuppetLogLevel
      MAPPING = {
        debug: :debug,
        info: :info,
        notice: :notice,
        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
    end
  end
end

Version data entries

91 entries across 91 versions & 1 rubygems

Version Path
bolt-2.23.0 lib/bolt/util/puppet_log_level.rb
bolt-2.22.0 lib/bolt/util/puppet_log_level.rb
bolt-2.21.0 lib/bolt/util/puppet_log_level.rb
bolt-2.20.0 lib/bolt/util/puppet_log_level.rb
bolt-2.19.0 lib/bolt/util/puppet_log_level.rb
bolt-2.18.0 lib/bolt/util/puppet_log_level.rb
bolt-2.17.0 lib/bolt/util/puppet_log_level.rb
bolt-2.16.0 lib/bolt/util/puppet_log_level.rb
bolt-2.15.0 lib/bolt/util/puppet_log_level.rb
bolt-2.14.0 lib/bolt/util/puppet_log_level.rb
bolt-2.13.0 lib/bolt/util/puppet_log_level.rb
bolt-2.12.0 lib/bolt/util/puppet_log_level.rb
bolt-2.11.1 lib/bolt/util/puppet_log_level.rb
bolt-2.11.0 lib/bolt/util/puppet_log_level.rb
bolt-2.10.0 lib/bolt/util/puppet_log_level.rb
bolt-2.9.0 lib/bolt/util/puppet_log_level.rb
bolt-2.8.0 lib/bolt/util/puppet_log_level.rb
bolt-2.7.0 lib/bolt/util/puppet_log_level.rb
bolt-2.6.0 lib/bolt/util/puppet_log_level.rb
bolt-2.5.0 lib/bolt/util/puppet_log_level.rb