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.4.0 lib/bolt/util/puppet_log_level.rb
bolt-2.3.1 lib/bolt/util/puppet_log_level.rb
bolt-2.3.0 lib/bolt/util/puppet_log_level.rb
bolt-2.2.0 lib/bolt/util/puppet_log_level.rb
bolt-2.1.0 lib/bolt/util/puppet_log_level.rb
bolt-2.0.1 lib/bolt/util/puppet_log_level.rb
bolt-2.0.0 lib/bolt/util/puppet_log_level.rb
bolt-1.49.0 lib/bolt/util/puppet_log_level.rb
bolt-1.48.0 lib/bolt/util/puppet_log_level.rb
bolt-1.47.0 lib/bolt/util/puppet_log_level.rb
bolt-1.45.0 lib/bolt/util/puppet_log_level.rb
bolt-1.44.0 lib/bolt/util/puppet_log_level.rb
bolt-1.43.0 lib/bolt/util/puppet_log_level.rb
bolt-1.42.0 lib/bolt/util/puppet_log_level.rb
bolt-1.41.0 lib/bolt/util/puppet_log_level.rb
bolt-1.40.0 lib/bolt/util/puppet_log_level.rb
bolt-1.39.0 lib/bolt/util/puppet_log_level.rb
bolt-1.38.0 lib/bolt/util/puppet_log_level.rb
bolt-1.37.0 lib/bolt/util/puppet_log_level.rb
bolt-1.36.0 lib/bolt/util/puppet_log_level.rb