From 3cf7b5ba03c31e6d310c43ab770ab8827fdfd4ee Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Fri, 15 Jan 2010 13:59:46 +0100 Subject: the log lines now go in the log files --- otfl-luat-dum.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'otfl-luat-dum.lua') 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 -- cgit v1.2.3