Expand description
Logging for Alacritty.
The main executable is supposed to call initialize()
exactly once during
startup. All logging messages are written to stdout, given that their
log-level is sufficient for the level configured in cli::Options
.
StructsΒ§
- OnDemandLogFile π
ConstantsΒ§
- Name for the environment variable containing extra logging targets.
- ALACRITTY_LOG_ENV πName for the environment variable containing the log fileβs path.
- ALLOWED_TARGETS πList of targets which will be logged by Alacritty.
- Logging target for config error messages.
- Logging target for IPC config error messages.
- Logging target for winit events.
FunctionsΒ§
- create_log_message π
- extra_log_targets πUser configurable extra log targets to include.
- Initialize the logger to its defaults.
- is_allowed_target πCheck if log messages from a crate should be logged.