From 72c37d7a0f5f103568524be642af2f648409ea87 Mon Sep 17 00:00:00 2001 From: Victor Date: Tue, 26 Nov 2024 11:27:16 -0800 Subject: [PATCH] Fix for #7 --- lib/logger_backends/handler.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logger_backends/handler.ex b/lib/logger_backends/handler.ex index 4facccf..5bce2b4 100644 --- a/lib/logger_backends/handler.ex +++ b/lib/logger_backends/handler.ex @@ -117,7 +117,7 @@ defmodule LoggerBackends.Handler do defp erlang_level_to_elixir_level(:alert), do: :error defp erlang_level_to_elixir_level(:critical), do: :error defp erlang_level_to_elixir_level(:error), do: :error - defp erlang_level_to_elixir_level(:warning), do: :warn + defp erlang_level_to_elixir_level(:warning), do: :warning defp erlang_level_to_elixir_level(:notice), do: :info defp erlang_level_to_elixir_level(:info), do: :info defp erlang_level_to_elixir_level(:debug), do: :debug