Expand description
A set of different syslog types of client.
- a shared (SyShared)
- a thread local (SyThreadLocal)
- a queued (SyQueue)
And implementation of (Syslog)
Re-exports§
pub use self::build_with_thread_local::SyThreadLocal;pub use self::build_with_queue::SyQueued;
Modules§
Structs§
- SyShared
- A
sync, shared instance of the syslog client which is shared between many threads. Previously a mutex was used, but since the v5.0.0 a CoW experimental approach is used. TheCoWcreates clones of the instance without holding a long mutex locks. When writing, the instance does not hold a long lock on updated item. Only exclusive lock locks the readers, because the instance is updated and not usable anyway. - Syslog