3 releases (stable)
2.0.0-rc.1.0.0 | Mar 27, 2024 |
---|---|
1.1.0 | Apr 25, 2022 |
1.0.0 | Mar 4, 2022 |
#13 in #intended
158 downloads per month
Used in bp3d-tracing
41KB
669 lines
BP3D logger
A flexible Log implementation intended to be used with BP3D software.
Main features
- Support for file logging.
- Support for stdout/stderr logging.
- Support for in memory logger.
- Easily switch on/off logging backends.
- Logging backends should not panic/abort/crash the software in any way.
stdout/stderr
- Error messages are written to stderr instead of stdout (configurable).
- If write fails, message is ignored; no panic produced.
file logging
- If write fails, an error is sent to other logging backends, if other backends fails, message is ignored; no panic produced.
in memory
- Log is limited to a fixed number of messages (configurable).
lib.rs
:
An async flexible Log implementation intended to be used with BP3D software.
Dependencies
~1–11MB
~78K SLoC