Expand description
Various utilities.
All the little things that are useful through the spirits code, can be useful to users and don’t logically fit anywhere else.
Structs
A wrapper to hide a configuration field from logs.
An error returned when the user passes a key-value option without equal sign.
Functions
Tries to read an absolute path from the given OS string.
A helper for deserializing map-like command line arguments.
Log one error
A wrapper around a fallible function that logs any returned errors, with all the causes and
optionally the backtrace.
Same as
log_errors
, but with an explicit target
to log into.