build: switch LVGL default logging from info to warn
ci/woodpecker/push/woodpecker Pipeline was successful Details

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.
pull/22/head
alex 1 year ago
parent ec5e15e8e9
commit a7c560e92a
Signed by: x1ddos
GPG Key ID: FDEFB4A63CBD8460

@ -299,10 +299,9 @@ const LVGLLogLevel = enum {
none, none,
/// returns default mode based on the compiler optimization flags. /// returns default mode based on the compiler optimization flags.
/// similar to std.log.default_level.
fn default(mode: std.builtin.Mode) @This() { fn default(mode: std.builtin.Mode) @This() {
return switch (mode) { return switch (mode) {
.Debug => .info, .Debug => .warn,
.ReleaseSafe => .warn, .ReleaseSafe => .warn,
.ReleaseFast, .ReleaseSmall => .err, .ReleaseFast, .ReleaseSmall => .err,
}; };