Skip to content

Commit 2d3a19f

Browse files
committed
[0.31.0] Add format configuration capabilities to setup_tracing()
- fixes #193
1 parent 97e3af7 commit 2d3a19f

File tree

5 files changed

+232
-88
lines changed

5 files changed

+232
-88
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this
66
project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.31.0] - 2025-06-16
9+
10+
Add format configuration capabilities to `flexi_logger::trc::setup_tracing`
11+
(this is realized in a breaking change, so we do a version bump).
12+
813
## [0.30.2] - 2025-05-27
914

1015
Add abilities

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "flexi_logger"
3-
version = "0.30.2"
3+
version = "0.31.0"
44
authors = ["emabee <[email protected]>"]
55
categories = ["development-tools::debugging"]
66
description = """

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ and you use the ```log``` macros to write log lines from your code):
1919

2020
```toml
2121
[dependencies]
22-
flexi_logger = "0.30"
22+
flexi_logger = "0.31"
2323
log = "0.4"
2424
```
2525

@@ -75,23 +75,23 @@ Make use of the non-default features by specifying them in your `Cargo.toml`, e.
7575

7676
```toml
7777
[dependencies]
78-
flexi_logger = { version = "0.30", features = ["async", "specfile", "compress"] }
78+
flexi_logger = { version = "0.31", features = ["async", "specfile", "compress"] }
7979
log = "0.4"
8080
```
8181

8282
or, to get the smallest footprint (and no colors), switch off even the default features:
8383

8484
```toml
8585
[dependencies]
86-
flexi_logger = { version = "0.30", default_features = false }
86+
flexi_logger = { version = "0.31", default_features = false }
8787
log = "0.4"
8888
```
8989

9090
### **`async`**
9191

9292
Adds an additional write mode that decouples `flexi_logger`'s I/O from your application threads.
9393
Works with `log_to_stdout()`, `log_to_stderr()`, and `log_to_file()`.
94-
See [here](./docs/diagrams.pdf) for a performance comparison of some write modes.
94+
See [performance comparison](./docs/diagrams.pdf) of some write modes.
9595

9696
Adds dependencies to
9797
[`crossbeam-channel`](https://docs.rs/crossbeam-channel/latest/crossbeam_channel/)
@@ -130,7 +130,7 @@ or all rotated log files in compressed form (`.gz`) rather than as plain text fi
130130
Normally, `flexi_logger` reduces the stack size of all threads that it might spawn
131131
(flusher, specfile-watcher, async writer, cleanup) to a bare minimum.
132132
For usecases where this is not desirable
133-
(see [here](https://github.com/emabee/flexi_logger/issues/95) for some motivation),
133+
([here is some motivation](https://github.com/emabee/flexi_logger/issues/95)),
134134
you can activate this feature.
135135

136136
### **`json`**
@@ -171,7 +171,7 @@ For that reason the feature is not active by default.
171171
### **`specfile_without_notification`**
172172

173173
Pretty much like `specfile`, except that updates to the file are being ignored.
174-
See [here](https://github.com/emabee/flexi_logger/issues/59) for more details.
174+
See [issue 59](https://github.com/emabee/flexi_logger/issues/59) for more details.
175175

176176
### **`syslog_writer`**
177177

0 commit comments

Comments
 (0)