Explicitly restrict log level options to those that are documented #3292
Labels
breaking change
The related changes are breaking for the users
enhancement
New feature or improvement
v1.0.0
PRs/issues solved in v1.0.0 released on 2023-02-06
Milestone
See: https://docs.meilisearch.com/learn/configuration/instance_options.html#log-level
Currently we forward the given log level as-is to
env_logger
's builder. This inadvertently makesenv_logger
's API part of meilisearch's interface. We should be more explicit in the code about the accepted log levels.The text was updated successfully, but these errors were encountered: