pub fn setup_logger()Expand description
Sets up the logger for the application.
The logger level is determined by the LOGLEVEL environment variable
(case-insensitive). If the variable is not set or holds an unrecognized
value, it defaults to INFO.
This installs a global subscriber and is intended for binaries, examples, and tests only — library code must not install a global subscriber.