Make __cdist_loglevel value more expressive. (#571)

This commit is contained in:
Darko Poljak 2017-09-07 16:36:23 +02:00 committed by GitHub
commit 57f15f9cce
9 changed files with 48 additions and 14 deletions

View file

@ -199,9 +199,8 @@ Environment variables (for reading)
The following environment variables are exported by cdist:
__cdist_loglevel
Value of cdist log level. One of 60, 40, 30, 20, 15, 10 and 5 where
the meaning is OFF, ERROR, WARNING, INFO, VERBOSE, DEBUG and TRACE,
respectively.
String value of cdist log level. One of OFF, ERROR, WARNING, INFO,
VERBOSE, DEBUG and TRACE.
Available for: initial manifest, type manifest, type gencode.
__explorer
Directory that contains all global explorers.

View file

@ -334,9 +334,8 @@ So when you generate a script with the following content, it will work:
Log level in types
------------------
cdist log level can be accessed from __cdist_loglevel variable.
Value is one of 60, 40, 30, 20, 15, 10 and 5 where the meaning is
OFF, ERROR, WARNING, INFO, VERBOSE, DEBUG and TRACE, respectively.
It is available for initial manifest, type manifest and type gencode.
Value is a string, one of OFF, ERROR, WARNING, INFO, VERBOSE, DEBUG and
TRACE. It is available for initial manifest, type manifest and type gencode.
Hints for typewriters