Skip to content

Commit

Permalink
chore(api): make logging::Error public
Browse files Browse the repository at this point in the history
it's public in other crates, it makes error handling easier.
  • Loading branch information
loziniak authored and joshuef committed Mar 11, 2024
1 parent 2525b3f commit fb309bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sn_logging/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@ mod layers;
#[cfg(feature = "process-metrics")]
pub mod metrics;

use crate::error::{Error, Result};
use crate::error::Result;
use layers::TracingLayers;
use std::path::PathBuf;
use tracing::info;
use tracing_appender::non_blocking::WorkerGuard;
use tracing_core::{dispatcher::DefaultGuard, Level};
use tracing_subscriber::{prelude::__tracing_subscriber_SubscriberExt, util::SubscriberInitExt};

pub use error::Error;

#[derive(Debug, Clone)]
pub enum LogOutputDest {
Stdout,
Expand Down

0 comments on commit fb309bf

Please sign in to comment.