Re-exports§
pub extern crate time;
Modules§
- The Rust Core Library
Macros§
- Logs a message at the debug level.
- Exits a function early with an
Error
if the condition is not satisfied. - Logs a message at the error level.
- Constructs an
Error
using the standard string interpolation syntax. - Logs a message at the info level.
- The standard logging macro.
- Determines if a message logged at the specified level in that module will be logged.
- Logs a message at the trace level.
- Logs a message at the warn level.
Structs§
- A
Backtrace
. - A iterator over the causes of a
Fail
- A compatibility wrapper around an error type from this crate.
- An error with context around it.
- The
Error
type, which can contain any failure. - The location of a log message.
- Metadata about a log message.
- The “payload” of a log message.
- A token providing read and write access to the global maximum log level filter.
- The type returned by
set_logger
ifset_logger
has already been called. - The type returned by
shutdown_logger_raw
ifshutdown_logger_raw
has already been called or ifset_logger_raw
has not been called yet. - Wrapper for
std
errors to make themSync
.
Enums§
- An enum representing the available verbosity levels of the logging framework
- An enum representing the available verbosity level filters of the logging framework.
Traits§
- The
AsFail
trait - The
Fail
trait. - Support trait for enabling a few common operation on lazy static values.
- A trait encapsulating the operations required of a logger
- Extension methods for
Result
. - Used for immutable dereferencing operations, like
*v
.
Functions§
- Constructs a
Fail
type from a string. - Takes a shared reference to a lazy static and initializes it if it has not been already.
- Returns the current maximum log level.
- Sets the global logger.
- Sets the global logger from a raw pointer.
- Shuts down the global logger.
- Shuts down the global logger.
Type Aliases§
- A common result with an
Error
.