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 1ee108a commit 973aa66Copy full SHA for 973aa66
src/utils.jl
@@ -49,7 +49,7 @@ end
49
for level in [:debug, :info, :warn, :error]
50
@eval begin
51
macro $(Symbol("safe_$level"))(ex...)
52
- macrocall = :(@placeholder $(ex...))
+ macrocall = :(@placeholder $(ex...) _file=$(String(__source__.file)) _line=$(__source__.line))
53
# NOTE: `@placeholder` in order to avoid hard-coding @__LINE__ etc
54
macrocall.args[1] = Symbol($"@$level")
55
quote
0 commit comments