mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-05-26 04:34:06 +00:00
aa34021b27
Signed-off-by: Jason Volk <jason@zemos.net>
15 lines
442 B
Rust
15 lines
442 B
Rust
use std::sync::Arc;
|
|
|
|
use super::{capture, reload::LogLevelReloadHandles};
|
|
|
|
/// Logging subsystem. This is a singleton member of super::Server which holds
|
|
/// all logging and tracing related state rather than shoving it all in
|
|
/// super::Server directly.
|
|
pub struct Server {
|
|
/// General log level reload handles.
|
|
pub reload: LogLevelReloadHandles,
|
|
|
|
/// Tracing capture state for ephemeral/oneshot uses.
|
|
pub capture: Arc<capture::State>,
|
|
}
|