[latex3-commits] [latex3/luaotfload] dev: Increase minimal log level for tracing output in auxiliary functions (31bdfce3)

github at latex-project.org github at latex-project.org
Sun Nov 17 11:52:55 CET 2024


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/31bdfce3fbc8523e46912d4f5868609422296503

>---------------------------------------------------------------

commit 31bdfce3fbc8523e46912d4f5868609422296503
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sun Nov 17 11:52:55 2024 +0100

    Increase minimal log level for tracing output in auxiliary functions


>---------------------------------------------------------------

31bdfce3fbc8523e46912d4f5868609422296503
 src/luaotfload-auxiliary.lua | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/luaotfload-auxiliary.lua b/src/luaotfload-auxiliary.lua
index ca71f461..5f918c11 100644
--- a/src/luaotfload-auxiliary.lua
+++ b/src/luaotfload-auxiliary.lua
@@ -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
@@ -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,
@@ -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)
@@ -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,
@@ -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





More information about the latex3-commits mailing list.