Skip to content

Commit

Permalink
Increase minimal log level for tracing output in auxiliary functions
Browse files Browse the repository at this point in the history
  • Loading branch information
zauguin committed Nov 17, 2024
1 parent 3a2155b commit 31bdfce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/luaotfload-auxiliary.lua
Original file line number Diff line number Diff line change
Expand Up @@ -496,14 +496,14 @@ function aux.provides_script(font_id, asked_script)
--- where method: "gpos" | "gsub"
for feature, data in next, featuredata do
if data[asked_script] then
logreport ("log", 1, "aux",
logreport ("log", 2, "aux",
"font no %d (%s) defines feature %s for script %s",
font_id, fontname, feature, asked_script)
return true
end
end
end
logreport ("log", 0, "aux",
logreport ("log", 2, "aux",
"font no %d (%s) defines no feature for script %s",
font_id, fontname, asked_script)
end
Expand Down Expand Up @@ -568,7 +568,7 @@ function aux.provides_language(font_id, asked_script, asked_language)
for feature, data in next, featuredata do
local scriptdata = data[asked_script]
if scriptdata and scriptdata[asked_language] then
logreport ("log", 1, "aux",
logreport ("log", 2, "aux",
"font no %d (%s) defines feature %s "
.. "for script %s with language %s",
font_id, fontname, feature,
Expand All @@ -577,7 +577,7 @@ function aux.provides_language(font_id, asked_script, asked_language)
end
end
end
logreport ("log", 0, "aux",
logreport ("log", 2, "aux",
"font no %d (%s) defines no feature "
.. "for script %s with language %s",
font_id, fontname, asked_script, asked_language)
Expand Down Expand Up @@ -727,7 +727,7 @@ function aux.provides_feature(font_id, asked_script,
if feature then
local scriptdata = feature[asked_script]
if scriptdata and scriptdata[asked_language] then
logreport ("log", 1, "aux",
logreport ("log", 2, "aux",
"font no %d (%s) defines feature %s "
.. "for script %s with language %s",
font_id, fontname, asked_feature,
Expand All @@ -736,7 +736,7 @@ function aux.provides_feature(font_id, asked_script,
end
end
end
logreport ("log", 0, "aux",
logreport ("log", 2, "aux",
"font no %d (%s) does not define feature %s for script %s with language %s",
font_id, fontname, asked_feature, asked_script, asked_language)
end
Expand Down

0 comments on commit 31bdfce

Please sign in to comment.