-- | Obtain a Logger decorator that sets the default logging level
logger :: IO (L.Logger -> L.Logger)
logger = do
  config <- load
  level <- Config.require config "logging"
  pure $ L.at level
logger :: IO (L.Logger -> L.Logger)
logger = do
  config <- load
  level <- Config.require config "logging"
  pure $ L.at level
logger = do
  config <- load
  level <- Config.require config "logging"
  pure $ L.at level