spdlog-rs
spdlog-rs copied to clipboard
Fast and combinable Rust logging crate
This PR introduces pattern-based formatters. Related issue: #10
This issue tracks the development progress of **pattern formatters**. The development takes place under branch `pattern-formatter`. - [x] Basic pattern combinators - [x] `pattern!` - [x] Atom patterns (reference: [spdlog...
This PR introduces `RuntimePattern` to implement the ability of building a patterns at runtime, this also allows us to implement serialization for loggers (#25) containing `PatternFormatter` in the future. Basically,...
`spdlog` supports specifying text alignment in its pattern flags, see https://github.com/gabime/spdlog/wiki/3.-Custom-formatting#aligning: - `%8l` requires right alignment and will expand to ` info`; - `%-8l` requires left alignment and will expand...
As discussed in #45, a `RuntimePattern` implementation with a pattern registry that can be dynamically built may have security concerns. Thus, while the pattern template string can be evaluated dynamically,...
I'm considering adding a new feature providing the ability to serialize and deserialize for loggers, that allows users to load logging configs from external inputs (particularly from files) so that...
Implement event handlers ([reference](https://github.com/gabime/spdlog/blob/ac55e60488032b9acde8940a5de099541c4515da/include/spdlog/common.h#L328-L339) from C++ spdlog) for `FileSink` and `RotatingFileSink` by adding new methods on the builders of these file sinks. The names of these methods are tentatively designated...
This is an early implementation of #25 in progress. It is currently very incomplete, just for previewing its API and approach. Note to self: Remember to change the base branch...
I received some feedback on the documentation not too long ago, and the current documentation and examples are indeed somewhat messy due to my inexperience. In this PR I will...
Structured logging enhances traditional text-based log records with user-defined attributes. Structured logs can be analyzed using a variety of data processing techniques, without needing to find and parse attributes from...