Skip to content

Commit

Permalink
Use Logger.warning/2 (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
trod authored Aug 24, 2023
1 parent d8c7005 commit 77f12f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/goth.ex
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ defmodule Goth do
end

defp start_http_client({module, _} = config) when is_atom(module) do
Logger.warn("Setting http_client: mod | {mod, opts} is deprecated in favour of http_client: fun | {fun, opts}")
Logger.warning("Setting http_client: mod | {mod, opts} is deprecated in favour of http_client: fun | {fun, opts}")

Goth.HTTPClient.init(config)
end
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defmodule Goth.Mixfile do
version: @version,
package: package(),
elixirc_paths: elixirc_paths(Mix.env()),
elixir: "~> 1.10",
elixir: "~> 1.11",
source_url: @source_url,
name: "Goth",
description: description(),
Expand Down

0 comments on commit 77f12f1

Please sign in to comment.