logscope: fix issue when using SILENT in Marlin
Created by: andresailer
level
is unsigned int
in most (all?) other places. SILENT is "UNSIGNED_INT_MAX", so the logic in this class with int level = -1
doesn't work (any longer?).
BEGINRELEASENOTES
- Logscope: fix for SILENT, which did not get properly restored because of integer overflow issues
ENDRELEASENOTES