routier-collection / core/src / setLogLevel
Function: setLogLevel()
setLogLevel(
next):void
Defined in: core/src/utilities/logger.ts:101
Overrides the level for the rest of the process.
The configuration above is read once, at import, which is what makes the gate cheap — but it also means an application that decides its verbosity after startup, or a test that wants to assert on output, has no way in. This is that way in.
Parameters
next
"error" | "silent" | "warn" | "info" | "debug"
Returns
void