Use constants for log levels
This commit is contained in:
parent
97b844e6fd
commit
e392d4842d
2 changed files with 12 additions and 20 deletions
4
rc.lua
4
rc.lua
|
@ -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)
|
||||
|
||||
-- }}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue