Sha256: 7fa4a7f7f75e5f4f7071321a2d1b65d9419b83a867b2da69f7a8d9106f0b96a3

Contents?: true

Size: 382 Bytes

Versions: 447

Compression:

Stored size: 382 Bytes

Contents

# Logs a message on the server at level `emerg`.
Puppet::Functions.create_function(:emerg, Puppet::Functions::InternalFunction) do
  # @param values The values to log.
  # @return [Undef]
  dispatch :emerg do
    scope_param
    repeated_param 'Any', :values
    return_type 'Undef'
  end

  def emerg(scope, *values)
    Puppet::Util::Log.log_func(scope, :emerg, values)
  end
end

Version data entries

447 entries across 447 versions & 2 rubygems

Version Path
puppet-7.34.0 lib/puppet/functions/emerg.rb
puppet-7.34.0-x86-mingw32 lib/puppet/functions/emerg.rb
puppet-7.34.0-x64-mingw32 lib/puppet/functions/emerg.rb
puppet-7.34.0-universal-darwin lib/puppet/functions/emerg.rb
puppet-7.33.0 lib/puppet/functions/emerg.rb
puppet-7.33.0-x86-mingw32 lib/puppet/functions/emerg.rb
puppet-7.33.0-x64-mingw32 lib/puppet/functions/emerg.rb
puppet-7.33.0-universal-darwin lib/puppet/functions/emerg.rb
puppet-7.32.1 lib/puppet/functions/emerg.rb
puppet-7.32.1-x86-mingw32 lib/puppet/functions/emerg.rb
puppet-7.32.1-x64-mingw32 lib/puppet/functions/emerg.rb
puppet-7.32.1-universal-darwin lib/puppet/functions/emerg.rb
puppet-7.31.0 lib/puppet/functions/emerg.rb
puppet-7.31.0-x86-mingw32 lib/puppet/functions/emerg.rb
puppet-7.31.0-x64-mingw32 lib/puppet/functions/emerg.rb
puppet-7.31.0-universal-darwin lib/puppet/functions/emerg.rb
puppet-7.30.0 lib/puppet/functions/emerg.rb
puppet-7.30.0-x86-mingw32 lib/puppet/functions/emerg.rb
puppet-7.30.0-x64-mingw32 lib/puppet/functions/emerg.rb
puppet-7.30.0-universal-darwin lib/puppet/functions/emerg.rb