We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6db2ba commit c3d4e41Copy full SHA for c3d4e41
src/web.rs
@@ -11,6 +11,7 @@ use axum::{
11
};
12
use chrono::Local;
13
use hyper::body::to_bytes;
14
+use simplelog::*;
15
use std::collections::HashMap;
16
use std::path::PathBuf;
17
use std::sync::Arc;
@@ -20,6 +21,9 @@ use tokio::io::AsyncWriteExt;
20
21
const TEMPLATE: &str = include_str!("../static/index.html");
22
const PICO_CSS: &str = include_str!("../static/pico.min.css");
23
24
+// module name for logging engine
25
+const NAME: &str = "<i><bright-black> web: </>";
26
+
27
#[derive(Clone)]
28
pub struct AppState {
29
pub config: SharedConfig,
0 commit comments