From 77f12f15dccf7f05fb9da0c7d7293433aae93aca Mon Sep 17 00:00:00 2001 From: Boris Wainberg Date: Thu, 24 Aug 2023 15:42:46 +0200 Subject: [PATCH] Use Logger.warning/2 (#162) --- lib/goth.ex | 2 +- mix.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/goth.ex b/lib/goth.ex index 340c6d2..787faf0 100644 --- a/lib/goth.ex +++ b/lib/goth.ex @@ -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 diff --git a/mix.exs b/mix.exs index 0e78813..bb59d02 100644 --- a/mix.exs +++ b/mix.exs @@ -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(),