Use constants for log levels

This commit is contained in:
crater2150 2014-04-25 15:14:42 +02:00
parent 97b844e6fd
commit e392d4842d
2 changed files with 12 additions and 20 deletions

4
rc.lua
View file

@ -14,8 +14,8 @@ layouts = require('layouts')
-- {{{ Logging
log = require("simplelog")
log.add_logger(log.loggers.stdio, 0)
log.add_logger(log.loggers.naughty, 2)
log.add_logger(log.loggers.stdio, log.level.debug)
log.add_logger(log.loggers.naughty, log.level.warn)
-- }}}