Revert "disable tracing macros"

This reverts commit 14e0d286f1efcc989ce679e451159fede6330bdf.
This commit is contained in:
2023-08-29 21:34:01 +02:00
parent 64b243ea82
commit d5fdf4fb48
14 changed files with 161 additions and 161 deletions

View File

@@ -23,7 +23,7 @@ mod html;
mod routes;
use routes::*;
//#[tracing::instrument]
#[tracing::instrument]
fn get_referer(headers: &HeaderMap) -> Result<&str, Error> {
headers
.get("referer")
@@ -71,7 +71,7 @@ async fn simple_handler(State(state): State<AppState>) -> &'static str {
"ok"
}
//#[tracing::instrument]
#[tracing::instrument]
pub fn router(state: AppState) -> Router {
Router::new()
.route("/favicon.svg", get(icon))