See #864. Fix Logger to use renamed loggerLevel setting key

This commit is contained in:
Glavin Wiechert 2016-04-16 16:16:56 -03:00
parent 3bc3c6d3a7
commit 78c2cc5480
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ module.exports = do ->
}) })
wlogger.on('logging', (transport, level, msg, meta)-> wlogger.on('logging', (transport, level, msg, meta)->
loggerLevel = atom?.config.get(\ loggerLevel = atom?.config.get(\
'atom-beautify._loggerLevel') ? "warn" 'atom-beautify.general.loggerLevel') ? "warn"
# console.log('logging', loggerLevel, arguments) # console.log('logging', loggerLevel, arguments)
loggerLevelNum = levels[loggerLevel] loggerLevelNum = levels[loggerLevel]
levelNum = levels[level] levelNum = levels[level]