Remove redundant noun from tracing initialiser functions

This commit is contained in:
rishflab 2021-04-08 13:09:52 +10:00
parent 9745d150e7
commit 8805002f96
6 changed files with 11 additions and 13 deletions

View file

@ -8,7 +8,7 @@ use tracing_subscriber::layer::{Context, SubscriberExt};
use tracing_subscriber::{fmt, EnvFilter, Layer, Registry};
use uuid::Uuid;
pub fn init_tracing(debug: bool, dir: impl AsRef<Path>, swap_id: Uuid) -> Result<()> {
pub fn init(debug: bool, dir: impl AsRef<Path>, swap_id: Uuid) -> Result<()> {
let level_filter = EnvFilter::try_new("swap=debug")?;
let registry = Registry::default().with(level_filter);