Merge pull request #13843 from teto/notif_provider

[RDY] Notification provider
This commit is contained in:
Matthieu Coudron
2021-02-08 15:49:27 +01:00
committed by GitHub
5 changed files with 62 additions and 11 deletions

View File

@@ -10,13 +10,7 @@ local log = {}
-- Can be used to lookup the number from the name or the name from the number.
-- Levels by name: 'trace', 'debug', 'info', 'warn', 'error'
-- Level numbers begin with 'trace' at 0
log.levels = {
TRACE = 0;
DEBUG = 1;
INFO = 2;
WARN = 3;
ERROR = 4;
}
log.levels = vim.log.levels
-- Default log level is warn.
local current_log_level = log.levels.WARN