rename log::Server to log::Log

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-06-26 00:19:35 +00:00
parent 06f01d384f
commit 20fe84379c
4 changed files with 15 additions and 26 deletions

View file

@ -33,7 +33,7 @@ pub struct Server {
pub signal: broadcast::Sender<&'static str>,
/// Logging subsystem state
pub log: log::Server,
pub log: log::Log,
/// TODO: move stats
pub requests_spawn_active: AtomicU32,
@ -45,7 +45,7 @@ pub struct Server {
impl Server {
#[must_use]
pub fn new(config: Config, runtime: Option<runtime::Handle>, log: log::Server) -> Self {
pub fn new(config: Config, runtime: Option<runtime::Handle>, log: log::Log) -> Self {
Self {
config,
started: SystemTime::now(),