Refactor logger class

This commit is contained in:
luaneko
2022-12-20 21:40:25 +11:00
parent d2b3ec29af
commit 8d4a0df7d6
3 changed files with 99 additions and 57 deletions

View File

@ -1,7 +1,14 @@
local logger = require("dep/log")
local proc = require("dep/proc")
--
-- Copyright (c) 2022 chiya.dev
--
-- Use of this source code is governed by the MIT License
-- which can be found in the LICENSE file and at:
--
-- https://opensource.org/licenses/MIT
--
logger:open()
local logger = require("dep.log").global
local proc = require("dep.proc")
local initialized, perf, config_path, base_dir
local packages, root