Skip to content

Commit

Permalink
Use Logger.warning instead of Logger.warn (#35)
Browse files Browse the repository at this point in the history
* Bump minimal Elixir to 1.11

So we can use Logger.warning instead of Logger.warn

* Use Logger.warning instead of Logger.warn
  • Loading branch information
stefanluptak authored Apr 7, 2024
1 parent 53928fd commit 02285ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/main_proxy.ex
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ defmodule MainProxy do
backends

:error ->
Logger.warn(
Logger.warning(
"No backends specified. Either configure :main_proxy, :backends or define a " <>
"`backend/0` function in your `Proxy` module."
)
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule MainProxy.MixProject do
description:
"Proxies requests to multiple apps. Useful for Gigalixir or Heroku deployment when just one web port is exposed. Works with phoenix endpoints, plugs, and websockets.",
package: package(),
elixir: "~> 1.9",
elixir: "~> 1.11",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
Expand Down

0 comments on commit 02285ba

Please sign in to comment.