0.1
Structured Logging
This first release defines what structlog should be and what its API should look like.
Features
Sinks
- Console: Write log entries to nvim's console.
- File: Write log entries to a file.
- RotatingFile: Write log entries to a rotating file.
Processors
- Namer: Add the logger name into log entries as 'logger_name'.
- StackWriter: Read the stack trace and provide additional log entries ["file", "line"].
- Timestamper: Add a 'timestamp' entry to the log entries.
Formatters
- Format: Format entries using a string format.
- FormatColorizer: Format and Colorize log entries.
The FormatColorizer only works with the Console sink.
Other
- Global log management
structlog'sconfigure(...)method - Most of the code base is tested
- The documentation is generated from code thanks to LDoc