Pagefind currently supports a --verbose flag to enable more output while running, but doesn’t offer other logging levels to reduce output. This is controlled via this match expression which has Standard and Verbose levels:
https://github.com/CloudCannon/pagefind/blob/596a56e9f35798742ed7023673e69cfec57395e6/pagefind/src/logging.rs#L115-L118
It would be great to have some more control over this as a user. I’m personally looking for an “errors-only” mode, but I guess “silent” and “warnings and above” are also common options in loggers.
Pagefind currently supports a
--verboseflag to enable more output while running, but doesn’t offer other logging levels to reduce output. This is controlled via this match expression which hasStandardandVerboselevels:https://github.com/CloudCannon/pagefind/blob/596a56e9f35798742ed7023673e69cfec57395e6/pagefind/src/logging.rs#L115-L118
It would be great to have some more control over this as a user. I’m personally looking for an “errors-only” mode, but I guess “silent” and “warnings and above” are also common options in loggers.