diff --git a/lib/x509/logger.ex b/lib/x509/logger.ex index 110cf40..046840e 100644 --- a/lib/x509/logger.ex +++ b/lib/x509/logger.ex @@ -1,10 +1,9 @@ defmodule X509.Logger do @moduledoc false - alias X509.Util require Logger - if Util.app_version(:logger) >= [1, 11, 0] do + if Version.match?(System.version(), ">= 1.11.0") do def warn(message, metadata \\ []) do Logger.warning(message, metadata) end