onkel-dirtus / logger_file_backend

MIT License
307 stars 128 forks source link

Several warnings with Elixir 1.7.4 #60

Closed shifters67 closed 5 years ago

shifters67 commented 5 years ago

Hi

the following warnings are generated by the compiler with the above elixir version

warning: the GenEvent module is deprecated, see its documentation for alternatives lib/logger_file_backend.ex:5

warning: GenEvent.using/1 is deprecated. Use one of the alternatives described in the documentation for the GenEvent module lib/logger_file_backend.ex:5

OvermindDL1 commented 5 years ago

Still getting the warnings with the latest published version on Elixir 1.8.0.

==> logger_file_backend
Compiling 1 file (.ex)
warning: the GenEvent module is deprecated, see its documentation for alternatives
  lib/logger_file_backend.ex:5

warning: GenEvent.__using__/1 is deprecated. Use one of the alternatives described in the documentation for the GenEvent module
  lib/logger_file_backend.ex:5

Generated logger_file_backend app
rodrigues commented 5 years ago

It was already merged in master: https://github.com/onkel-dirtus/logger_file_backend/pull/43

We just don't have a new release, which is also the subject of this other issue: https://github.com/onkel-dirtus/logger_file_backend/issues/59

EDIT: Found another duplicate: https://github.com/onkel-dirtus/logger_file_backend/issues/53

shifters67 commented 5 years ago

Ah, thanks for the update - have switched from hex version to git direct and it compiles fine

Many thanks!

Tom

OvermindDL1 commented 5 years ago

Ah, thanks for the update - have switched from hex version to git direct and it compiles fine

Until it's published I'm not sure this should be closed. I can't use git dependencies at work without forking it and keeping it up to date manually, which is super easy to get out of sync. ^.^;