Function log::shutdown_logger_raw
[−]
[src]
pub fn shutdown_logger_raw() -> Result<*const Log, ShutdownLoggerError>
Shuts down the global logger.
This function is similar to shutdown_logger
except that it is usable in
no_std
code.
This function may only be called once in the lifetime of a program, and may
not be called before set_logger_raw
. Once the global logger has been shut
down, it can no longer be re-initialized by set_logger_raw
. Any log
events that occur after the call to shutdown_logger_raw
completes will be
ignored.
The pointer that was originally passed to set_logger_raw
is returned on
success. At that point it is guaranteed that no other threads are
concurrently accessing the logger object.