Skip to content

Commit b86c42d

Browse files
committed
fix: remove verbose
1 parent 56d6083 commit b86c42d

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

lua/logger/base.lua

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,13 @@ local rtplog = {} ---@type string[]
1717
---@field name string
1818
---@field silent integer|boolean
1919
---@field level loggerLevel
20-
---@field verbose loggerVerbose
2120
---@field file string
2221
---@field temp loggerMsg[]
2322
---@field levels string[]
2423
local M = {
2524
name = '',
2625
silent = 1,
2726
level = 1,
28-
verbose = 1,
2927
file = '',
3028
temp = {},
3129
}
@@ -54,18 +52,6 @@ function M.set_file(file)
5452
M.file = file
5553
end
5654

57-
---@param vb loggerVerbose
58-
function M.set_verbose(vb)
59-
-- verbose should be 1 - 4
60-
-- message type: log debug, info, warn, error
61-
-- info and debug should not be print to screen.
62-
-- the default verbose is 1
63-
-- 1: notify nothing
64-
-- 2: notify only error
65-
-- 3: notify warn and error
66-
M.verbose = vb
67-
end
68-
6955
---@param l loggerLevel
7056
function M.set_level(l)
7157
if not vim.list_contains({ 0, 1, 2, 3, 4 }, l) then

0 commit comments

Comments
 (0)