Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to configure Tesla logging via ExGram config #169

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sega-yarkin
Copy link
Contributor

Make possible to configure Tesla logger via Mix config files.

Example of how to configure it:

config :ex_gram, Tesla.Middleware.Logger,
  log_level: :debug

Note that you may need to run mix deps.compile ex_gram --force after this config change.

Alternative option is to skip this override on ExGram side and allow user to configure it via Tesla.Middleware.Logger config (which in some cases may be less flexible for a user).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant