Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ All notable changes to this project will be documented in this file.

## Unreleased

* `module_path` is replaced by `target` in `JsonLayout` and `TextLayout` ([#85](https://github.com/fast/logforth/pull/82)).
* `module_path` is replaced by `target` in `JsonLayout` and `TextLayout` ([#82](https://github.com/fast/logforth/pull/82)).
* Error perform logging now prints error in Debug format ([#84](https://github.com/fast/logforth/pull/84))

## [0.18.1] 2024-11-17

Expand Down
4 changes: 2 additions & 2 deletions src/logger/log_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ fn handle_error(record: &Record, error: anyhow::Error) {
Error perform logging.
Attempted to log: {args}
Record: {record:?}
Error: {error}
Error: {error:?}
"###,
args = record.args(),
record = record,
Expand All @@ -136,7 +136,7 @@ Error perform logging.
Error performing stderr logging after error occurred during regular logging.
Attempted to log: {args}
Record: {record:?}
Error: {error}
Error: {error:?}
Fallback error: {fallback_error}
"###,
args = record.args(),
Expand Down