Mercurial > prosody-hg
comparison core/loggingmanager.lua @ 8555:4f0f5b49bb03
vairious: Add annotation when an empty environment is set [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 28 Feb 2018 20:06:26 +0100 |
| parents | 45383e071ded |
| children | 6e24a69b03af |
comparison
equal
deleted
inserted
replaced
| 8554:12a68e0d0ecf | 8555:4f0f5b49bb03 |
|---|---|
| 22 | 22 |
| 23 _G.log = logger.init("general"); | 23 _G.log = logger.init("general"); |
| 24 prosody.log = logger.init("general"); | 24 prosody.log = logger.init("general"); |
| 25 | 25 |
| 26 local _ENV = nil; | 26 local _ENV = nil; |
| 27 -- luacheck: std none | |
| 27 | 28 |
| 28 -- The log config used if none specified in the config file (see reload_logging for initialization) | 29 -- The log config used if none specified in the config file (see reload_logging for initialization) |
| 29 local default_logging; | 30 local default_logging; |
| 30 local default_file_logging; | 31 local default_file_logging; |
| 31 local default_timestamp = "%b %d %H:%M:%S "; | 32 local default_timestamp = "%b %d %H:%M:%S "; |
