WIP checks

This commit is contained in:
Dominik Werder
2023-06-17 23:07:59 +02:00
parent 3cd74601a4
commit 44dd43240b
24 changed files with 492 additions and 368 deletions
+3
View File
@@ -2,6 +2,7 @@ use crate::log::*;
use err::Error;
use std::fmt;
use std::future::Future;
use std::io;
use std::panic;
use std::sync::Arc;
use std::sync::Mutex;
@@ -108,6 +109,7 @@ fn tracing_init_inner() -> Result<(), Error> {
.from_env()
.map_err(|e| Error::with_msg_no_trace(format!("can not build tracing env filter {e}")))?;
let fmt_layer = tracing_subscriber::fmt::Layer::new()
.with_writer(io::stderr)
.with_timer(timer)
.with_target(true)
.with_ansi(false)
@@ -125,6 +127,7 @@ fn tracing_init_inner() -> Result<(), Error> {
// TODO tracing_loki seems not well composable, try open telemetry instead.
if false {
/*let fmt_layer = tracing_subscriber::fmt::Layer::new()
.with_writer(io::stderr)
.with_timer(timer)
.with_target(true)
.with_ansi(false)