2 unstable releases
0.1.0 | Mar 2, 2023 |
---|---|
0.0.0 | Feb 24, 2023 |
#34 in #syslog
Used in libsyslog
7KB
libsyslog-sys
The code in this crate provides a low level API to the system's native syslog, the one typically implemented in C and residing in libc.
Most users are likely more interested in the higher level safe API in the libsyslog crate.
Contact
Please see https://www.netizen.se/#contact.
Copyright and License
This crate is Copyright 2023 Martin Samuelsson. It is 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.
lib.rs
:
The code in this crate contains the raw bindings for syslog, automatically generated by bindgen. Before continuing any further, please make sure libsyslog is not the crate you really are looking for.
See The Open Group Base Specifications Issue 7, 2018 edition for actual API documentation or Wikipedia for general context.
Implementation specific documentation: (verified working platforms)
Apple Inc. is advising to no longer use syslog on macOS 10.12 and
later, yet this crate compiles and messages produced by it do appear in the
output of log stream
on such platforms.
No runtime deps
~0–1.9MB
~38K SLoC