rename log::Server to log::Log

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2024-06-30 18:02:16 +00:00
1 parent 06f01d384f
commit 20fe84379c
4 files changed
+15 -26

No files matched your search

+2 -2
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(),