Drop null_logger (#6013)

* Drop null_logger
This commit is contained in:
Lion - dapplion
2024-08-19 11:21:10 +02:00
committed by GitHub
parent 6faa9c678e
commit d957161740
23 changed files with 51 additions and 60 deletions

View File

@@ -1,6 +1,6 @@
use beacon_chain::test_utils::EphemeralHarnessType;
use environment::null_logger;
use http_metrics::Config;
use logging::test_logger;
use reqwest::header::HeaderValue;
use reqwest::StatusCode;
use std::net::{IpAddr, Ipv4Addr};
@@ -13,7 +13,7 @@ type Context = http_metrics::Context<EphemeralHarnessType<MainnetEthSpec>>;
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
async fn returns_200_ok() {
async {
let log = null_logger().unwrap();
let log = test_logger();
let context = Arc::new(Context {
config: Config {