How would I do the following the right way?
for sym in (:debugging, :debugging_str)
@eval macro $sym(ex)
quote
$(esc(println(Dates.now(UTC), ":\t", ex)))
end
end
end
Sometimes if I use this macro in a function it doesn’t understands the scope and can’t use the variables in the function scope.