refacto: abstract TreeExplorer in core.lua

This commit is contained in:
kiyan
2022-03-09 22:01:54 +01:00
parent d2b12d6055
commit 471afc13fe
17 changed files with 94 additions and 65 deletions

View File

@@ -4,9 +4,9 @@ local M = {
}
--- Write to log file
--- @param typ as per log.types config
--- @param fmt for string.format
--- @param ... arguments for string.format
--- @param typ string as per log.types config
--- @param fmt string for string.format
--- @param ... any arguments for string.format
function M.raw(typ, fmt, ...)
if not M.path or not M.config.types[typ] and not M.config.types.all then
return