Sha256: 43122c2474a8d4c10dd86a632ee3e11e834d6a94a36fdc834514f4294af9a60a

Contents?: true

Size: 413 Bytes

Versions: 32

Compression:

Stored size: 413 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

32 entries across 32 versions & 1 rubygems

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