summaryrefslogtreecommitdiff
path: root/otfl-luat-dum.lua
diff options
context:
space:
mode:
authorElie Roux <eroux@dedibox.ebzao.info>2010-01-15 13:59:46 +0100
committerElie Roux <eroux@dedibox.ebzao.info>2010-01-15 13:59:46 +0100
commit3cf7b5ba03c31e6d310c43ab770ab8827fdfd4ee (patch)
treebde987b042cd9d80bc98b1aa619ff0c5a3166ef8 /otfl-luat-dum.lua
parent6deb8a8d311b48e4a7f3ab0010e7e535b38620ff (diff)
downloadluaotfload-3cf7b5ba03c31e6d310c43ab770ab8827fdfd4ee.tar.gz
the log lines now go in the log files
Diffstat (limited to 'otfl-luat-dum.lua')
-rw-r--r--otfl-luat-dum.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/otfl-luat-dum.lua b/otfl-luat-dum.lua
index 97ddb31..96a773c 100644
--- a/otfl-luat-dum.lua
+++ b/otfl-luat-dum.lua
@@ -69,18 +69,18 @@ local write_nl, format, name = texio.write_nl, string.format, "luaotfload"
function logs.report(category,fmt,...)
if fmt then
- write_nl(format("%s | %s: %s",name,category,format(fmt,...)))
+ write_nl('log', format("%s | %s: %s",name,category,format(fmt,...)))
elseif category then
- write_nl(format("%s | %s",name,category))
+ write_nl('log', format("%s | %s",name,category))
else
- write_nl(format("%s |",name))
+ write_nl('log', format("%s |",name))
end
end
function logs.simple(fmt,...)
if fmt then
- write_nl(format("%s | %s",name,format(fmt,...)))
+ write_nl('log', format("%s | %s",name,format(fmt,...)))
else
- write_nl(format("%s |",name))
+ write_nl('log', format("%s |",name))
end
end