Comments (2)
I would also really like this, my use case is turning some errors into panics during tests.
from tracing.
Hmm AFAIK this is currently not possible. One workaround would be to use MakeWriter
and implement io::Write
. https://docs.rs/tracing-subscriber/latest/tracing_subscriber/fmt/struct.Layer.html#method.with_writer
from tracing.
Related Issues (20)
- Add `once` and per-level tracing macros that are called only once
- Attribute for logging every line in the function HOT 2
- Leveled logging is ignoring RUST_LOG HOT 4
- `SubscriberBuilder::with_ansi` is incorrectly gated by the `ansi` feature in tracing-subscriber 0.3.18 HOT 1
- A Spans `on_close` method is called with 45 minutes delay HOT 3
- tracing-appender: log rotation doesn't work with musl target HOT 3
- Allow macro `instrument` to accept multiple `fields` and `skip` and merge them
- Broken link on docs.rs HOT 3
- non_blocking writer do not work HOT 4
- Make method env_var_name public HOT 1
- Broken link in documentation. HOT 2
- [tracing_subscriber::filter::Builder] Proposal for supporting multiple default directives / setting a default filter
- Unqualified `line!` macro usage inside `info!` causes issues with `ratatui_macros` HOT 1
- How to modify EnvFilter instead of replace
- RollingFileAppender `prune_old_logs()` relies on `metadata().created()` which is not available on all platforms HOT 1
- Make Layer::with_writer not truncate the file HOT 4
- When will the feature(`valuable` suport`) be merged into stable version? HOT 1
- error[E0609]: no field `free` on type `REGISTRY` HOT 2
- Add an option for outputting span IDs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tracing.