Expand description
schedr’s own logs (see archive/PROJECT.md, Observability): stdout, JSON in pods and readable
text in a terminal, with RUST_LOG-style level filters.
Enums§
- Resolved
Format - The format actually used once
autois resolved.
Functions§
- init
- Installs the global logger. Returns
falseif one was already installed (only the first call in a process takes effect). - level_
filter - The level filter for
[log] level, e.g.infoorinfo,schedr_master=debug. - quiet_
sqlx_ options - A filter dropping sqlx’s connect-options events (
sqlx_postgres::options) whatever[log] levelsays: a layer of its own, so no directive of the level (sqlx_postgres::options::parse=debug) brings them back. - resolve_
format - Resolves
[log] format:autois text in a terminal and JSON otherwise (pods).