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

Remove :warn log level in favor of :warning #75

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

trod
Copy link
Contributor

@trod trod commented Aug 24, 2023

Hi there 🙌
The PR is to get rid of these warnings below which appear after upgrade on elixir 1.15.

==> ex_phone_number
Compiling 22 files (.ex)
warning: the log level :warn is deprecated, use :warning instead
  (logger 1.15.2) lib/logger.ex:1137: Logger.elixir_level_to_erlang_level/1
  (logger 1.15.2) lib/logger.ex:618: anonymous fn/2 in Logger.configure/1
  (elixir 1.15.2) lib/enum.ex:2510: Enum."-reduce/3-lists^foldl/2-0-"/3
  (logger 1.15.2) lib/logger.ex:616: Logger.configure/1
  lib/ex_phone_number/metadata/phone_metadata.ex:76: (module)
  (elixir 1.15.2) src/elixir_compiler.erl:66: :elixir_compiler.dispatch/4

@szymon-jez szymon-jez merged commit 1c8502c into ex-phone-number:master Aug 28, 2023
10 checks passed
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.

2 participants