You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I compile my application I get the following error when compiling the logger_file_backend application.
==> logger_file_backend
Compiling 1 file (.ex)
warning: Logger.compare_levels/2 defined in application :logger is used by the current application but the current application does not depend on :logger. To fix this, you must do one of:
1. If :logger is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs
2. If :logger is a dependency, make sure it is listed under "def deps" in your mix.exs
3. In case you don't want to add a requirement to :logger, you may optionally skip this warning by adding [xref: [exclude: [Logger]]] to your "def project" in mix.exs
lib/logger_file_backend.ex:36: LoggerFileBackend.handle_event/2
I think that the library should have :logger added to the extra_applications options in order to fix this.
The text was updated successfully, but these errors were encountered:
When I compile my application I get the following error when compiling the logger_file_backend application.
I think that the library should have
:logger
added to theextra_applications
options in order to fix this.The text was updated successfully, but these errors were encountered: