We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a6394d commit 5e47e6eCopy full SHA for 5e47e6e
lib/absinthe/phase/debug.ex
@@ -3,14 +3,11 @@ defmodule Absinthe.Phase.Debug do
3
4
@moduledoc false
5
6
- alias Absinthe.Blueprint
+ require Logger
7
8
- @spec run(any, Keyword.t()) :: {:ok, Blueprint.t()}
+ @spec run(any, Keyword.t()) :: {:ok, Absinthe.Blueprint.t()}
9
def run(input, _options \\ []) do
10
- if System.get_env("DEBUG") do
11
- IO.inspect(input, label: :debug_blueprint_output)
12
- end
13
-
+ Logger.debug("[Absinthe Blueprint]", input)
14
{:ok, input}
15
end
16
0 commit comments