Sha256: 1331a63fc4ff3ea66c4fba941a3bc5c0024dbc27d921addff3044f269173b804

Contents?: true

Size: 403 Bytes

Versions: 32

Compression:

Stored size: 403 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
puppet-8.10.0 lib/puppet/functions/err.rb
puppet-8.10.0-x86-mingw32 lib/puppet/functions/err.rb
puppet-8.10.0-x64-mingw32 lib/puppet/functions/err.rb
puppet-8.10.0-universal-darwin lib/puppet/functions/err.rb
puppet-8.9.0 lib/puppet/functions/err.rb
puppet-8.9.0-x86-mingw32 lib/puppet/functions/err.rb
puppet-8.9.0-x64-mingw32 lib/puppet/functions/err.rb
puppet-8.9.0-universal-darwin lib/puppet/functions/err.rb
puppet-8.8.1 lib/puppet/functions/err.rb
puppet-8.8.1-x86-mingw32 lib/puppet/functions/err.rb
puppet-8.8.1-x64-mingw32 lib/puppet/functions/err.rb
puppet-8.8.1-universal-darwin lib/puppet/functions/err.rb
puppet-8.7.0 lib/puppet/functions/err.rb
puppet-8.7.0-x86-mingw32 lib/puppet/functions/err.rb
puppet-8.7.0-x64-mingw32 lib/puppet/functions/err.rb
puppet-8.7.0-universal-darwin lib/puppet/functions/err.rb
puppet-8.6.0 lib/puppet/functions/err.rb
puppet-8.6.0-x86-mingw32 lib/puppet/functions/err.rb
puppet-8.6.0-x64-mingw32 lib/puppet/functions/err.rb
puppet-8.6.0-universal-darwin lib/puppet/functions/err.rb