Skip to content

Commit 8e742ae

Browse files
committed
Update logger calls
1 parent 41e9d96 commit 8e742ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/vbt/absinthe/instrumentation.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ defmodule VBT.Absinthe.Instrumentation do
8686
" -> #{div(data.duration, 1000)}ms (#{data.count} calls) in #{operation}\n"
8787
end)
8888

89-
Logger.warn([
90-
"spent #{total_duration}ms in #{Logger.Utils.truncate(metadata.query, 1000)}\n"
89+
Logger.warning([
90+
"spent #{total_duration}ms in #{Logger.Utils.truncate_n(metadata.query, 1000)}\n"
9191
| operations
9292
])
9393
end

0 commit comments

Comments
 (0)