fix logtime macro

This commit is contained in:
kalmarek 2018-01-01 23:54:36 +01:00
parent 3066046fdb
commit 7ac194f98a
1 changed files with 1 additions and 1 deletions

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