smart-house-web: в работе

This commit is contained in:
3 changed files with 14 additions and 5 deletions

View File

@@ -2,6 +2,7 @@ const CODE_LOGGER_INITIALIZATION_ERROR: i32 = 1;
const CODE_TOKIO_RUNTIME_CREATION_ERROR: i32 = 2;
const CODE_LISTENER_BINDING_ERROR: i32 = 3;
const CODE_STARTIG_SERVER_ERROR: i32 = 4;
const CODE_CTRL_C_SIGNAL_INSTALL_ERROR: i32 = 5;
pub fn init_logger() {
use tracing_subscriber::{Layer, layer::SubscriberExt, util::SubscriberInitExt};