Software /
code /
prosody
Comparison
util/startup.lua @ 8712:e9caf447deed
util.startup: Remove luacheck directive for ignoring use of _G.log which might not exist until loggingmanager has been loaded
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 05 Apr 2018 16:00:27 +0200 |
parent | 8699:580c13ed0ca1 |
child | 8713:48bd442f6d4d |
comparison
equal
deleted
inserted
replaced
8711:9932a2a5b6de | 8712:e9caf447deed |
---|---|
77 -- Load socket framework | 77 -- Load socket framework |
78 -- luacheck: ignore 111/server 111/socket | 78 -- luacheck: ignore 111/server 111/socket |
79 socket = require "socket"; | 79 socket = require "socket"; |
80 server = require "net.server" | 80 server = require "net.server" |
81 end | 81 end |
82 | |
83 -- The global log() gets defined by loggingmanager | |
84 -- luacheck: ignore 113/log | |
85 | 82 |
86 function startup.init_logging() | 83 function startup.init_logging() |
87 -- Initialize logging | 84 -- Initialize logging |
88 require "core.loggingmanager" | 85 require "core.loggingmanager" |
89 end | 86 end |