Skip to content

Commit

Permalink
finalize pacht #31: update CHANGELOG/Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gin66 committed Mar 21, 2023
1 parent 5d26c8f commit d4d977e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
pre-0.8.4:
- support for tracing-subscriber

0.8.3:
- Make `TuiWidgetState.set_default_display_level()` work for TuiLoggerWidget (#30)

Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@
`tui-logger` provides a TuiSlogDrain which implements `slog::Drain` and will route all records
it receives to the `tui-logger` widget

## `tracing-subscriber` support

`tui-logger` provides a TuiTracingSubscriberLayer which implements
`tracing_subscriber::Layer` and will collect all events
it receives to the `tui-logger` widget

## Custom filtering
```rust
#[macro_use]
Expand Down Expand Up @@ -144,4 +150,5 @@
* [Afonso Bordado](https://github.com/afonso360) for providing the patch to tui-rs v0.17
* [Benjamin Kampmann](https://github.com/gnunicorn) for providing patch to tui-rs v0.18
* [Paul Sanders](https://github.com/pms1969) for providing patch in [issue #30](https://github.com/gin66/tui-logger/issues/30)
*kos Hadnagy](https://github.com/ahadnagy) for providing patch in (https://github.com/gin66/tui-logger/issues/31) for tracing-subscriber support

3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
//! `tui-logger` provides a TuiSlogDrain which implements `slog::Drain` and will route all records
//! it receives to the `tui-logger` widget
//!
//! //! ## `tracing-subscriber` support
//! ## `tracing-subscriber` support
//!
//! `tui-logger` provides a TuiTracingSubscriberLayer which implements
//! `tracing_subscriber::Layer` and will collect all events
Expand Down Expand Up @@ -152,6 +152,7 @@
//! * [Afonso Bordado](https://github.com/afonso360) for providing the patch to tui-rs v0.17
//! * [Benjamin Kampmann](https://github.com/gnunicorn) for providing patch to tui-rs v0.18
//! * [Paul Sanders](https://github.com/pms1969) for providing patch in [issue #30](https://github.com/gin66/tui-logger/issues/30)
//! * [Ákos Hadnagy](https://github.com/ahadnagy) for providing patch in (https://github.com/gin66/tui-logger/issues/31) for tracing-subscriber support
//!
#[macro_use]
extern crate lazy_static;
Expand Down

0 comments on commit d4d977e

Please sign in to comment.