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Β§
ConstantsΒ§
- ALACRITTY_
EXTRA_ πLOG_ TARGETS_ ENV - 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.
- LOG_
TARGET_ CONFIG - Logging target for config error messages.
- LOG_
TARGET_ IPC_ CONFIG - Logging target for IPC config error messages.
- LOG_
TARGET_ WINIT - Logging target for winit events.
FunctionsΒ§
- create_
log_ πmessage - extra_
log_ πtargets - User configurable extra log targets to include.
- initialize
- Initialize the logger to its defaults.
- is_
allowed_ πtarget - Check if log messages from a crate should be logged.