Software /
code /
prosody
Comparison
util/startup.lua @ 8713:48bd442f6d4d
util.startup: Use own logger instead of the possibly not available yet _G.log
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 05 Apr 2018 16:01:10 +0200 |
parent | 8712:e9caf447deed |
child | 8715:25d8d6091ec3 |
comparison
equal
deleted
inserted
replaced
8712:e9caf447deed | 8713:48bd442f6d4d |
---|---|
1 -- Ignore the CFG_* variables | 1 -- Ignore the CFG_* variables |
2 -- luacheck: ignore 113/CFG_CONFIGDIR 113/CFG_SOURCEDIR 113/CFG_DATADIR 113/CFG_PLUGINDIR | 2 -- luacheck: ignore 113/CFG_CONFIGDIR 113/CFG_SOURCEDIR 113/CFG_DATADIR 113/CFG_PLUGINDIR |
3 local startup = {}; | 3 local startup = {}; |
4 | 4 |
5 local prosody = { events = require "util.events".new() }; | 5 local prosody = { events = require "util.events".new() }; |
6 local log = require "util.logger".init("startup"); | |
6 | 7 |
7 local config = require "core.configmanager"; | 8 local config = require "core.configmanager"; |
8 | 9 |
9 local dependencies = require "util.dependencies"; | 10 local dependencies = require "util.dependencies"; |
10 | 11 |