onkel-dirtus / logger_file_backend

MIT License
307 stars 128 forks source link

Update runtime example on README #39

Closed joshuafleck closed 7 years ago

joshuafleck commented 7 years ago

Hi @onkel-dirtus,

I was following the example in the readme for configuring a backend at runtime and encountered a compilation warning:

warning: function Logger.configure/2 is undefined or private. Did you mean one of:
      * configure/1

I believe configure_backend is the method that should be used for for configuring a backend, see https://hexdocs.pm/logger/Logger.html#configure_backend/2