From 8d4a0df7d6b61e275932e42858b74f7c8a34c05a Mon Sep 17 00:00:00 2001 From: luaneko Date: Tue, 20 Dec 2022 21:40:25 +1100 Subject: Refactor logger class --- lua/dep.lua | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'lua/dep.lua') diff --git a/lua/dep.lua b/lua/dep.lua index 2ae3105..1c6d9a1 100755 --- a/lua/dep.lua +++ b/lua/dep.lua @@ -1,7 +1,14 @@ -local logger = require("dep/log") -local proc = require("dep/proc") - -logger:open() +-- +-- 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 +-- + +local logger = require("dep.log").global +local proc = require("dep.proc") local initialized, perf, config_path, base_dir local packages, root -- cgit v1.2.1