rename log::Server to log::Log
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
06f01d384f
commit
20fe84379c
4 changed files with 15 additions and 26 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue