A zero-dependency, single-file logger for Neovim Lua plugins with print-style and format-style logging.
vlog.nvim is a logging library for Neovim Lua plugins that provides structured logging with multiple severity levels and output options. It solves the problem of adding debug and informational logging to Neovim plugins without introducing dependencies or complex setup.
Neovim plugin developers writing Lua who need a simple, embeddable logging solution for debugging and monitoring plugin behavior.
Developers choose vlog.nvim for its zero-dependency design, dual logging styles, and easy copy-paste integration, making it the simplest way to add professional logging to any Neovim plugin.
Single file, no dependency, easy copy & paste log file to add to your neovim lua plugins
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
As a single Lua file, it can be copied directly into any project without external dependencies, eliminating bloat and simplifying distribution.
Supports both print-style argument passing and string.format-style formatting, offering flexibility in message construction based on developer preference.
Includes trace to fatal levels with customizable Neovim highlighting, making it easy to visually distinguish log severity in the console.
Can log to both the Neovim console and files with independent toggles, allowing tailored logging for development versus production use.
Designed exclusively for Neovim plugins, so it cannot be reused for other Lua applications or outside the Neovim ecosystem.
Lacks features like log rotation, size limits, or cleanup, which could lead to file bloat in long-running plugins without manual intervention.
Requires copying and editing a Lua file or using a plugin manager, which might be less convenient than drop-in libraries with auto-discovery.