mirror of
https://github.com/neovim/neovim.git
synced 2026-05-29 16:25:35 +00:00
feat(logging): vim.log #38906
This commit is contained in:
@@ -11,6 +11,7 @@ for k, v in pairs({
|
||||
loader = true,
|
||||
func = true,
|
||||
F = true,
|
||||
log = true,
|
||||
lsp = true,
|
||||
hl = true,
|
||||
diagnostic = true,
|
||||
@@ -171,19 +172,6 @@ function vim.wait(time, callback, interval, fast_only)
|
||||
end
|
||||
end
|
||||
|
||||
--- @nodoc
|
||||
vim.log = {
|
||||
--- @enum vim.log.levels
|
||||
levels = {
|
||||
TRACE = 0,
|
||||
DEBUG = 1,
|
||||
INFO = 2,
|
||||
WARN = 3,
|
||||
ERROR = 4,
|
||||
OFF = 5,
|
||||
},
|
||||
}
|
||||
|
||||
local utfs = {
|
||||
['utf-8'] = true,
|
||||
['utf-16'] = true,
|
||||
|
||||
Reference in New Issue
Block a user