[−][src]Function nitrokey::set_debug
pub fn set_debug(state: bool)
Enables or disables debug output. Calling this method with true
is equivalent to setting the
log level to Debug
; calling it with false
is equivalent to the log level Error
(see
set_log_level
).
If debug output is enabled, detailed information about the communication with the Nitrokey device is printed to the standard output.