Skip to content

Commit

Permalink
feat(logging): include line numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeStanger committed May 4, 2023
1 parent 38da59c commit c1ea5fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ fn install_tracing() -> Result<WorkerGuard> {
const DEFAULT_LOG: &str = "info";
const DEFAULT_FILE_LOG: &str = "warn";

let fmt_layer = fmt::layer().with_target(true);
let fmt_layer = fmt::layer().with_target(true).with_line_number(true);
let filter_layer =
EnvFilter::try_from_env("IRONBAR_LOG").or_else(|_| EnvFilter::try_new(DEFAULT_LOG))?;

Expand Down

0 comments on commit c1ea5fa

Please sign in to comment.