1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-11-14 14:15:28 +01:00

fix logtime macro

This commit is contained in:
kalmarek 2018-01-01 23:54:36 +01:00
parent 3066046fdb
commit 7ac194f98a

View File

@ -38,7 +38,7 @@ macro logtime(logger, ex)
local diff = Base.GC_Diff(Base.gc_num(), stats)
local ts = time_string(elapsedtime, diff.allocd, diff.total_time,
Base.gc_alloc_count(diff))
esc(info(logger, ts))
$(esc(info))($(esc(logger)), ts)
val
end
end