mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-04-19 19:34:24 +02:00
feat(logging): include line numbers
This commit is contained in:
parent
38da59cd41
commit
c1ea5fad7e
1 changed files with 1 additions and 1 deletions
|
@ -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))?;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue