Sets the verbosity threshold.
Accepts "debug", "info", "warn", "error" and "production", case-insensitively.
⚠️ "production" is not a level of its own: it sets the threshold to warn and
turns quiet mode on, so it is the only value with a side effect beyond the threshold.
An unrecognised value logs a warning and leaves the level unchanged.
The level name.
The current threshold, as its numeric value from LEVELS.
0 (DEBUG), 1 (INFO), 2 (WARN) or 3 (ERROR).
The current threshold, as its name.
⚠️ Reports the threshold, not the mode: after setLevel("production") this returns
"WARN", and nothing here reveals that quiet mode was switched on with it.
"DEBUG", "INFO", "WARN" or "ERROR".
Turns repetition damping on or off, independently of the level.
With it on, messages matching the module's repetitive-message patterns are shown a couple of times and then counted silently until LogImplInterface.showSummary.
true to damp repetitive messages.
The shape of
GeoLeaf.Log— a level-filtered console with repetition damping.Two independent mechanisms decide whether a call reaches the console: the level threshold (LogImplInterface.setLevel) and, for messages recognised as repetitive, a grouping counter that suppresses them after a few occurrences and reports the totals through LogImplInterface.showSummary. A message can therefore be dropped even at a permissive level.