kordophoned: better daemon bootstrapping
This commit is contained in:
@@ -2,20 +2,6 @@ pub mod api;
|
||||
|
||||
pub mod model;
|
||||
pub use self::api::APIInterface;
|
||||
use ctor::ctor;
|
||||
|
||||
#[cfg(test)]
|
||||
pub mod tests;
|
||||
|
||||
extern crate env_logger;
|
||||
|
||||
fn initialize_logging() {
|
||||
env_logger::Builder::from_default_env()
|
||||
.format_timestamp_secs()
|
||||
.init();
|
||||
}
|
||||
|
||||
#[ctor]
|
||||
fn init() {
|
||||
initialize_logging();
|
||||
}
|
||||
pub mod tests;
|
||||
Reference in New Issue
Block a user