Logging
MSG-RS uses the tracing ecosystem crate for logging.
The tracing targets are configured using the tracing-subscriber crate.
They are named after the crates that they are used in, and can be configured using the RUST_LOG
environment variable.
For example, to enable logging for the msg_socket
crate in your program, simply set:
RUST_LOG=msg_socket=debug cargo run
Metrics
MSG-RS doesn't currently expose any metrics by default.
If you are interested in this feature, please let us know by opening an issue.