local function Logger(title)
local opts = { title = title or "aoc" }
return {
info = function(msg)
vim.notify(msg, vim.log.levels.INFO, opts)
end,
warn = function(msg)
vim.notify(msg, vim.log.levels.WARN, opts)
end,
error = function(msg)
vim.notify(msg, vim.log.levels.ERROR, opts)
end,
}
end
return Logger