diff options
author | David Schmitt <david.schmitt@puppet.com> | 2016-09-06 12:36:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-06 12:36:16 +0100 |
commit | 8da9579f34ea851da9d484fbe87436787a6e19bb (patch) | |
tree | d0a12c3c1d1acefa3a1702ab3d20367c7715f41f | |
parent | 0262410b696f8d3644fb0dbd08db8b4794810eed (diff) | |
parent | b2d05e9b3f5da65ad3dc39b95b342e9085e52346 (diff) |
Merge pull request #650 from HelenCampbell/deprecationUpdate
Deprecation function README update
-rw-r--r-- | README.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown index fc11a84..5130f64 100644 --- a/README.markdown +++ b/README.markdown @@ -304,7 +304,7 @@ Deletes all instances of the undef value from an array or hash. For example, `$h #### `deprecation` -Function to print deprecation warnings, Logs a warning once for a given key. The uniqueness key - can appear once. The msg is the message text including any positional information that is formatted by the user/caller of the method It is affected by the puppet setting 'strict', which can be set to :error (outputs as an error message), :off (no message / error is displayed) and :warning (default, outputs a warning) *Type*: String, String. +A function to print deprecation warnings, logs a warning once for a given key. The uniqueness key - can appear once. The msg is the message text including any positional information that is formatted by the user/caller of the method. It is affected by the puppet setting 'strict', which can be set to :error (outputs as an error message), :off (no message / error is displayed) and :warning (default, outputs a warning). In Puppet version less than 4.0 an environment variable can be set to decide whether or not to log deprecation warnings (ENV[STDLIB_LOG_DEPRECATION]). If this environment variable is set to true, the functions will log a warning. *Type*: String, String. #### `difference` |