@@ -209,16 +209,27 @@ Options:
209
209
default log level set with environment variable 'RUST_LOG' will be
210
210
used. If used, log level will be set to 'DEBUG' and debugging
211
211
information will be printed. '-d' is a shortcut for '--log-level
212
- DEBUG'. See also '--log-level'. '-d' takes precedence over
213
- '--log-level'. Additionally, have a look also at the option
214
- '--verbose'
215
-
216
- --log-level <LOG_LEVEL>
212
+ DEBUG'. If used once as in '-d' it will set and/or overwrite
213
+ --log-level to '--log-level debug'. If used twice as in '-d -d' it
214
+ will set and/or overwrite --log-level to '--log-level debug debug'.
215
+ And third or futher occurance of '-d' will be ignored. See also
216
+ '--log-level'. '-d' takes precedence over '--log-level'.
217
+ Additionally, have a look also at the option '--verbose'
218
+
219
+ --log-level <LOG_LEVEL>...
217
220
Set the log level by overwriting the default log level. Details:: If
218
221
not used, then the default log level set with environment variable
219
- 'RUST_LOG' will be used. See also '--debug' and '--verbose'
220
-
221
- [default: none]
222
+ 'RUST_LOG' will be used. If used with one value specified this value
223
+ is assigned to the log level of matrix-commander-rs. If used with two
224
+ values specified the first value is assigned to the log level of
225
+ matrix-commander-rs. The second value is asigned to the lower level
226
+ modules. More than two values should not be specified. --debug
227
+ overwrites -log-level. See also '--debug' and '--verbose'.
228
+ Alternatively you can use the RUST_LOG environment variable. An
229
+ example use of RUST_LOG is to use neither --log-level nor --debug,
230
+ and to set RUST_LOG="error,matrix_commander_rs=debug" which turns off
231
+ debugging on all lower level modules and turns debugging on only for
232
+ matrix-commander-rs
222
233
223
234
Possible values:
224
235
- none: None: not set, default
0 commit comments