Expand description
A basic logger to use with the log
crate.
See crate ::env_logger
.
Modules§
- Formatting for log records.
Structs§
Builder
acts as builder for initializing aLogger
.- Set of environment variables to configure from.
- The env logger.
Enums§
- Log target, either
stdout
,stderr
or a custom pipe. - Formatting precision of timestamps.
- Whether or not to print styles to the target.
Constants§
- The default name for the environment variable to read filters from.
- The default name for the environment variable to read style preferences from.
Functions§
- Create a new builder with the default environment variables.
- from_
env Deprecated Create a builder from the given environment variables. - Initializes the global logger with an env logger.
- Initializes the global logger with an env logger from the given environment variables.
- Attempts to initialize the global logger with an env logger.
- Attempts to initialize the global logger with an env logger from the given environment variables.