nvim_runtime_lua

vim.log.new.Opts

@inlinedoc

Fields3

Opts.name : string

Display name used in notifications emitted by the logger.

Opts.level : vim.log.levels | nil

Minimum level that will be written. (default: vim.log.levels.WARN)

Opts.format_func : fun(min_level: vim.log.levels, level: vim.log.levels, ...) -> nil | string | nil