Merge branch 'maint'
[paraslash.git] / m4 / lls / include / loglevel.m4
1 m4_define(`downcase', `m4_translit(`$*', `A-Z', `a-z')')
2 m4_define(`SUITE_LOGLEVELS', `m4_patsubst(`$*', `LL_\([A-Z]+\)',
3         `LSGLL_\1 = "downcase(`\1')" ')')
4 [option loglevel]
5         summary = control amount of logging
6         short_opt = l
7         arg_info = required_arg
8         arg_type = string
9         typestr = severity
10         values = {SUITE_LOGLEVELS(LOGLEVELS())}
11         default_val = warning
12         [help]
13                 Log only messages with severity greater or equal than the given
14                 value. Possible values:
15
16                 debug: Produces really noisy output.
17                 info: Still noisy, but won't fill up the disk quickly.
18                 notice: Indicates normal, but significant event.
19                 warning: Unexpected events that can be handled.
20                 error: Unhandled error condition.
21                 crit: System might be unreliable.
22                 emerg: Last message before exit.
23         [/help]