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-1.1.0 lib/bolt/util/puppet_log_level.rb
bolt-1.0.0 lib/bolt/util/puppet_log_level.rb
bolt-0.25.0 lib/bolt/util/puppet_log_level.rb
bolt-0.24.0 lib/bolt/util/puppet_log_level.rb
bolt-0.23.0 lib/bolt/util/puppet_log_level.rb
bolt-0.22.0 lib/bolt/util/puppet_log_level.rb
bolt-0.21.8 lib/bolt/util/puppet_log_level.rb
bolt-0.21.7 lib/bolt/util/puppet_log_level.rb
bolt-0.21.6 lib/bolt/util/puppet_log_level.rb
bolt-0.21.5 lib/bolt/util/puppet_log_level.rb
bolt-0.21.4 lib/bolt/util/puppet_log_level.rb