bp3d-logger

Crates.iobp3d-logger
lib.rsbp3d-logger
version2.0.0-rc.2.0.1
sourcesrc
created_at2022-03-04 13:50:39.300186
updated_at2024-06-22 09:44:22.432881
descriptionA flexible Log implementation intended to be used with BP3D software.
homepage
repositoryhttps://github.com/BlockProject3D/debug.logger
max_upload_size
id543521
size65,822
(Yuri6037)

documentation

README

logo

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).
Commit count: 26

cargo fmt