Minor updates and fixes

This commit is contained in:
Victor Hagelbäck 2021-02-08 19:55:18 +01:00
parent f93d3854d0
commit c6d7bc2e3e
5 changed files with 8 additions and 8 deletions

View file

@ -32,7 +32,7 @@ class Logger {
}
static getLogLevel() {
const config = Configuration.getConfiguration();
const config = Configuration.getOptions();
// eslint-disable-next-line max-len
const level = (config.logLevel && LEVELS.find((l) => l.startsWith(config.logLevel[0].toLowerCase())))
|| 'info';