summaryrefslogtreecommitdiff
path: root/luaotfload-override.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-09-01 21:02:18 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-09-01 21:02:18 +0200
commit6ad39d6f1f45b088173312493f7b3b42eb71979a (patch)
tree91b591668166b8b2314ef1ba5335c0c851590324 /luaotfload-override.lua
parent1f8bcae1bfd697adf582d2a6c1add145eb304f9b (diff)
downloadluaotfload-6ad39d6f1f45b088173312493f7b3b42eb71979a.tar.gz
[db] add post-build statistics
Diffstat (limited to 'luaotfload-override.lua')
-rw-r--r--luaotfload-override.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/luaotfload-override.lua b/luaotfload-override.lua
index 8e467d5..0609541 100644
--- a/luaotfload-override.lua
+++ b/luaotfload-override.lua
@@ -144,8 +144,10 @@ logs.set_logout = set_logout
local log = function (category, fmt, ...)
local res = { module_name, "|", category, ":" }
- if fmt then res[#res+1] = stringformat(fmt, ...) end
- texiowrite_nl(logout, tableconcat(res, " "))
+ if fmt then
+ res [#res + 1] = stringformat (fmt, ...)
+ end
+ texiowrite_nl (logout, tableconcat(res, " "))
end
--- with faux db update with maximum verbosity: