1
2
3
4#[cfg(feature = "build_with_queue")]
8pub mod syslog_sync_queue;
9
10#[cfg(all(feature = "build_with_queue", not(feature = "async_embedded")))]
12pub(crate) mod crossbeam_queue_adapter;
13
14pub mod syslog_stream;
16
17pub mod syslog_sync;
25
26pub(crate) mod syslog_sync_internal;
29
30pub(crate) mod socket;
43
44
45#[cfg(all(feature = "build_with_queue", not(feature = "async_embedded")))]
46pub(crate) use crossbeam_queue_adapter as q_adapter;
47
48#[cfg(all(feature = "async_embedded", feature = "build_with_queue"))]
49pub(crate) use crate::a_sync::async_queue_adapter::q_adapter as q_adapter;
50
51#[cfg(all(feature = "build_with_queue"))]
52pub use q_adapter::DefaultQueueAdapter;
53
54pub use syslog_stream::
56{
57 SyStream, SyStreamPri, SyStreamSyslogApi, SyStreamPriWarning, SyStreamPriNotice, SyStreamPriInfo,
58 SyStreamPriEmerg, SyStreamPriCrit, SyStreamPriAlert, SyStreamPriDebug, SyStreamPriErr
59};
60
61pub(crate) use syslog_sync_internal::LogItems;
63
64
65#[cfg(target_family = "unix")]
66use crate::SyslogLocal;
67
68#[cfg(target_family = "windows")]
69use crate::WindowsEvent;
70
71
72#[cfg(target_family = "unix")]
73pub type DefaultLocalSyslogDestination = SyslogLocal;
74#[cfg(target_family = "windows")]
75pub type DefaultLocalSyslogDestination = WindowsEvent;
76
77
78