Function setVibeLogLevel
Set Vibe.d log level according to the configuration's log level
void setVibeLogLevel
(
dtext .log .ILogger .ILogger .Level level
) @safe;
This is used to ensure we get the right amount of information from Vibe.d
Since a log level is the "minimum accepted" level, some level values might
not match. For example, if we want Vibe.d's "diagnostic" to be part of
the output when we set the loglevel to info, then that's what we must pass
to Vibe's setLogLevel
(and since diagnostic < info, it will include the
latter too).
Parameters
Name | Description |
---|---|
level | The level at which we want to set the logger |
See Also
https
//vibed.org/api/vibe.core.log/LogLevel
https
//github.com/vibe-d/vibe-core/blob/a9dbc9b8953f98790f8f94cda89067e3bf99a2b6/source/vibe/core/log.d#L238-L255