[−][src]Function win_dbg_logger::init
pub fn init()
Sets the DebuggerLogger
as the currently-active logger.
If an error occurs when registering DebuggerLogger
as the current logger,
this function will output a warning and will return normally. It will not panic.
This behavior was chosen because DebuggerLogger
is intended for use in debugging.
Panicking would disrupt debugging and introduce new failure modes. It would also
create problems for mixed-mode debugging, where Rust code is linked with C/C++ code.