Comments (5)
@hawkw It's not a blocking issue for me. I think it can be added later.
from tracing.
Same 😄
from tracing.
Personally, I think let field
would be fine, but I'd like to hear from everyone who's invested in this.
from tracing.
@jonhoo, @carllerche, @davidbarsky, and @LucioFranco, just checking to see if supporting uninitialized fields in tokio-trace
0.2 is important to any of you. If so, we'll block the breaking change on this issue. Otherwise, when we agree on the new syntax, we can add it in a small-point release...
from tracing.
I thought about this a bit more and I think I prefer field = _
despite the possible confusion with assignment syntax. The field = _
syntax reminds of anonymous lifetimes ('_
) and placeholders in generics (Vec<_>
) much more than the fact we're not assigning values to fields.
from tracing.
Related Issues (20)
- unable to get LocalTime on OpenBSD HOT 1
- Allow `tracing_log` log to trace env_logger init from custom env. var
- event!(name: ...) is ignored in "full" and "json" output HOT 4
- Docs say that #[instrument] uses Value trait, but experiment disagree HOT 6
- #[instrument(skip_all, fields(x))] silently doesn't work HOT 4
- tracing 0.2: "impl Valuable for Option" is a design bug. None is indistinguishable from Some(None) HOT 4
- docs: fix incorrect incorrect links/typos across `tracing` HOT 1
- subscriber: record error source with `Json` format
- `#[instrument(skip_all, ret)]` does not report return value HOT 2
- `fmt::format::Writer` should have more visibility HOT 1
- `#[tracing::instrument(err)]` fails to build when Ok variant has lifetime, "lifetime may not live long enough"
- osv-scanner results HOT 4
- Different timestamps in different outputs HOT 5
- Expose simultaneous access to Span and Inner on Instrumented so that implementation of foreign traits are possible HOT 2
- tracings-subscriber: add display_span_list and display_current_span from Json formatter to Pretty, Compact and Full HOT 1
- `EnvFilter` enable span and events for a given field value pair `[{field=\"value\"}]` with no specific span or target
- Change `Layer` timer implementation at runtime using reload HOT 1
- Instrument an empty field in a function with multiple layers in subscriber, the log output will contain the empty field multiple times. HOT 2
- Make `in_current_span` work on Fn types HOT 1
- When the `tracing-subscriber` exits the block, it loses the file handle. HOT 3
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.