The documentation section shown below refers to the :loggers option, which was deprecated in Ecto v3.0.0, at the time that telemetry was introduced. It was replaced with a :log option. Per the docs the :log option provides the log level used when logging the query with Elixir's Logger. It defaults to :debug and, if false, disables logging for the repository. I think that the explanation of the :loggers option should be replaced with an explanation of the :log option. I can submit a PR if agreed that this should be changed.
The documentation section shown below refers to the
:loggers
option, which was deprecated in Ecto v3.0.0, at the time that telemetry was introduced. It was replaced with a:log
option. Per the docs the:log
option provides the log level used when logging the query with Elixir's Logger. It defaults to:debug
and, iffalse
, disables logging for the repository. I think that the explanation of the:loggers
option should be replaced with an explanation of the:log
option. I can submit a PR if agreed that this should be changed.