Software /
code /
prosody
Comparison
util/logger.lua @ 8556:5800f0c7afd6
util.logger: Import globals (fixes on Lua 5.2)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 28 Feb 2018 20:17:21 +0100 |
parent | 8555:4f0f5b49bb03 |
child | 12394:86d6b069b892 |
comparison
equal
deleted
inserted
replaced
8555:4f0f5b49bb03 | 8556:5800f0c7afd6 |
---|---|
6 -- COPYING file in the source package for more information. | 6 -- COPYING file in the source package for more information. |
7 -- | 7 -- |
8 -- luacheck: ignore 213/level | 8 -- luacheck: ignore 213/level |
9 | 9 |
10 local pairs = pairs; | 10 local pairs = pairs; |
11 local ipairs = ipairs; | |
12 local require = require; | |
11 | 13 |
12 local _ENV = nil; | 14 local _ENV = nil; |
13 -- luacheck: std none | 15 -- luacheck: std none |
14 | 16 |
15 local level_sinks = {}; | 17 local level_sinks = {}; |