Skip to content

Commit

Permalink
fix: fix deprecation warnings for Logger.warn/1 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanberg committed Jun 26, 2023
1 parent 00e5cd1 commit 0b13494
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/test.exs
@@ -1,3 +1,3 @@
import Config

config :logger, level: :warn
config :logger, level: :warning
2 changes: 1 addition & 1 deletion example/config/test.exs
@@ -1,3 +1,3 @@
import Config

config :logger, level: :warn
config :logger, level: :warning
2 changes: 1 addition & 1 deletion lib/tableau/websocket.ex
Expand Up @@ -34,7 +34,7 @@ defmodule Tableau.Websocket do
end

def websocket_info(message, state) do
Logger.warn("Unhandled message: #{inspect(message)}")
Logger.warning("Unhandled message: #{inspect(message)}")

{:ok, state}
end
Expand Down

0 comments on commit 0b13494

Please sign in to comment.