2 unstable releases
0.2.0 | Nov 15, 2022 |
---|---|
0.1.0 | Nov 14, 2022 |
#4 in #linux-cnc
Used in linuxcnc-hal
180KB
4K
SLoC
RTAPI logger for Rust components in LinuxCNC
Please consider becoming a sponsor so I may continue to maintain this crate in my spare time!
Documentation
rtapi-logger
is a logging driver for the log
ecosystem.
Other loggers which don't use the RTAPI logging machinery provided by LinuxCNC are relatively
slow and can unnecessarily block realtime tasks. rtapi-logger
hooks into LinuxCNC's logging
machinery to prevent these problems, whilst also allowing the use of the convenient macros
provided by [log
].
Please note this crate is still somewhat experimental. For example, currently all messages are
logged at the ERR
level provided by LinuxCNC.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~0–2MB
~39K SLoC