summaryrefslogtreecommitdiff
path: root/luaotfload-override.lua
diff options
context:
space:
mode:
Diffstat (limited to 'luaotfload-override.lua')
-rw-r--r--luaotfload-override.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/luaotfload-override.lua b/luaotfload-override.lua
index 94f2376..726000d 100644
--- a/luaotfload-override.lua
+++ b/luaotfload-override.lua
@@ -69,9 +69,12 @@ logs.names_report = function (mode, lvl, ...)
end
if not lvl then lvl = 0 end
- if loglevel > lvl then
+ if loglevel >= lvl then
if mode == "log" then
log (...)
+ elseif mode == "both" then
+ log (...)
+ stdout (...)
else
stdout (...)
end