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Β§
- OnDemand
LogFile π
ConstantsΒ§
- Name for the environment variable containing extra logging targets.
- ALACRITT
Y_ πLOG_ ENV Name for the environment variable containing the log fileβs path. - ALLOWE
D_ π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.