Custom debugging with macro programming

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.

Just looked it up in @show. I needed to escape the right thing^^

for sym in (:debugging, :debugging_str)
    @eval macro $sym(ex)
        quote
            println(now(UTC), ":\t", $(esc(ex)))
        end
    end
end