-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to configure EctoLogger through :telemetry
For complex umbrella apps, having a global config for the :spandex_ecto library can be limiting - particularly when a different tracer is to be used depending on the repo. This change allows to pass configuration to the underlying EctoLogger module, like the `:tracer` option, through the `config` argument in `:telemetry.attach/4`.
- Loading branch information
1 parent
dad60bd
commit 1cc732b
Showing
2 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters