From a7c560e92ab7e75e9eeada5adf11cd4b1322a9af Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 23 Jul 2023 12:33:33 +0200 Subject: [PATCH] build: switch LVGL default logging from info to warn this hides all LVGL info messages about UI interactions like events, making the log output more useful during development. it is still possible to increase verbosity to the original level using the lvgl_loglevel build flag. --- build.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.zig b/build.zig index 7732216..09c8c45 100644 --- a/build.zig +++ b/build.zig @@ -299,10 +299,9 @@ const LVGLLogLevel = enum { none, /// returns default mode based on the compiler optimization flags. - /// similar to std.log.default_level. fn default(mode: std.builtin.Mode) @This() { return switch (mode) { - .Debug => .info, + .Debug => .warn, .ReleaseSafe => .warn, .ReleaseFast, .ReleaseSmall => .err, };