Skip to content

Commit 0b13494

Browse files
authored
fix: fix deprecation warnings for Logger.warn/1 (#10)
1 parent 00e5cd1 commit 0b13494

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config/test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import Config
22

3-
config :logger, level: :warn
3+
config :logger, level: :warning

example/config/test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import Config
22

3-
config :logger, level: :warn
3+
config :logger, level: :warning

lib/tableau/websocket.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ defmodule Tableau.Websocket do
3434
end
3535

3636
def websocket_info(message, state) do
37-
Logger.warn("Unhandled message: #{inspect(message)}")
37+
Logger.warning("Unhandled message: #{inspect(message)}")
3838

3939
{:ok, state}
4040
end

0 commit comments

Comments
 (0)