Home
last modified time | relevance | path

Searched refs:new_span (Results 1 – 25 of 44) sorted by relevance

12

/third_party/rust/crates/tracing/tracing-attributes/tests/
Dfollows_from.rs22 .new_span(cause_a.clone()) in follows_from_sync_test()
23 .new_span(cause_b.clone()) in follows_from_sync_test()
24 .new_span(cause_c.clone()) in follows_from_sync_test()
25 .new_span(consequence.clone()) in follows_from_sync_test()
53 .new_span(cause_a.clone()) in follows_from_async_test()
54 .new_span(cause_b.clone()) in follows_from_async_test()
55 .new_span(cause_c.clone()) in follows_from_async_test()
56 .new_span(consequence.clone()) in follows_from_async_test()
84 .new_span(cause.clone()) in follows_from_current_test()
86 .new_span(consequence.clone()) in follows_from_current_test()
Dlevels.rs23 .new_span(span::mock().named("trace").at_level(Level::TRACE)) in named_levels()
26 .new_span(span::mock().named("debug").at_level(Level::DEBUG)) in named_levels()
29 .new_span(span::mock().named("info").at_level(Level::INFO)) in named_levels()
32 .new_span(span::mock().named("warn").at_level(Level::WARN)) in named_levels()
35 .new_span(span::mock().named("error").at_level(Level::ERROR)) in named_levels()
69 .new_span(span::mock().named("trace").at_level(Level::TRACE)) in numeric_levels()
72 .new_span(span::mock().named("debug").at_level(Level::DEBUG)) in numeric_levels()
75 .new_span(span::mock().named("info").at_level(Level::INFO)) in numeric_levels()
78 .new_span(span::mock().named("warn").at_level(Level::WARN)) in numeric_levels()
81 .new_span(span::mock().named("error").at_level(Level::ERROR)) in numeric_levels()
Dinstrument.rs32 .new_span(span.clone()) in override_everything()
36 .new_span(span2.clone()) in override_everything()
66 .new_span( in fields()
77 .new_span( in fields()
125 .new_span( in skip()
132 .new_span( in skip()
140 .new_span(span3.clone()) in skip()
171 .new_span( in generics()
204 .new_span( in methods()
235 .new_span( in impl_trait_return_type()
Dparents.rs21 .new_span( in default_parent_test()
27 .new_span( in default_parent_test()
36 .new_span( in default_parent_test()
68 .new_span( in explicit_parent_test()
74 .new_span( in explicit_parent_test()
80 .new_span( in explicit_parent_test()
Dasync_fn.rs87 .new_span(span::mock().named("test_async_fn")) in async_fn_only_enters_for_polls()
117 .new_span(span.clone()) in async_fn_nested()
119 .new_span(span2.clone()) in async_fn_nested()
192 .new_span( in async_fn_with_async_trait()
198 .new_span(span3.clone()) in async_fn_with_async_trait()
203 .new_span(span2.clone().with_field(field::mock("self"))) in async_fn_with_async_trait()
248 .new_span( in async_fn_with_async_trait_and_fields_expressions()
322 .new_span( in async_fn_with_async_trait_and_fields_expressions_with_generic_parameter()
328 .new_span( in async_fn_with_async_trait_and_fields_expressions_with_generic_parameter()
337 .new_span( in async_fn_with_async_trait_and_fields_expressions_with_generic_parameter()
[all …]
Dret.rs24 .new_span(span.clone()) in test()
48 .new_span(span.clone()) in test_custom_target()
76 .new_span(span.clone()) in test_warn()
103 .new_span(span.clone()) in test_mut()
133 .new_span(span.clone()) in test_async()
158 .new_span(span.clone()) in test_impl_type()
183 .new_span(span.clone()) in test_dbg()
208 .new_span(span.clone()) in test_ret_and_err()
237 .new_span(span.clone()) in test_ret_and_ok()
Derr.rs26 .new_span(span.clone()) in test()
49 .new_span(span.clone()) in test_async()
79 .new_span(span.clone()) in test_mut()
103 .new_span(span.clone()) in test_mut_async()
135 .new_span( in impl_trait_return_type()
163 .new_span(span.clone()) in test_err_dbg()
187 .new_span(span.clone()) in test_err_display_default()
210 .new_span(span.clone()) in test_err_custom_target()
Ddestructuring.rs13 .new_span( in destructure_tuples()
42 .new_span( in destructure_nested_tuples()
73 .new_span( in destructure_refs()
100 .new_span( in destructure_tuple_structs()
141 .new_span( in destructure_structs()
186 .new_span( in destructure_everything()
Dtargets.rs26 .new_span( in default_targets()
41 .new_span( in default_targets()
70 .new_span(span::mock().named("custom_target").with_target("my_target")) in custom_targets()
73 .new_span( in custom_targets()
Dnames.rs20 .new_span(span::mock().named("default_name")) in default_name_test()
36 .new_span(span::mock().named("my_name")) in custom_name_test()
52 .new_span(span::mock().named("my_other_name")) in custom_name_no_equals_test()
/third_party/rust/crates/tracing/tracing/tests/
Dspan.rs339 .new_span( in moved_field()
368 .new_span( in dotted_field_name()
386 .new_span( in borrowed_field()
429 .new_span( in move_field_out_of_struct()
437 .new_span( in move_field_out_of_struct()
462 .new_span( in float_values()
546 .new_span( in record_new_value_for_field()
577 .new_span( in record_new_values_for_fields()
613 .new_span( in new_span_with_target_and_log_level()
633 .new_span(span::mock().named("foo").with_explicit_parent(None)) in explicit_root_span_is_root()
[all …]
Dsubscriber.rs36 fn new_span(&self, _: &Attributes<'_>) -> Id { in event_macros_dont_infinite_loop() method
63 .new_span( in boxed_subscriber()
96 .new_span( in arced_subscriber()
Dregister_callsite_deadlock.rs22 fn new_span(&self, _: &span::Attributes<'_>) -> span::Id { in register_callsite_doesnt_deadlock() method
Dfilters_dont_leak.rs27 .new_span(alice.clone()) in spans_dont_leak()
/third_party/rust/crates/tracing/tracing-subscriber/tests/layer_filters/
Dmain.rs54 .new_span(span::mock().at_level(Level::TRACE)) in basic_layer_filters_spans()
55 .new_span(span::mock().at_level(Level::DEBUG)) in basic_layer_filters_spans()
56 .new_span(span::mock().at_level(Level::INFO)) in basic_layer_filters_spans()
61 .new_span(span::mock().at_level(Level::DEBUG)) in basic_layer_filters_spans()
62 .new_span(span::mock().at_level(Level::INFO)) in basic_layer_filters_spans()
67 .new_span(span::mock().at_level(Level::INFO)) in basic_layer_filters_spans()
/third_party/rust/crates/tracing/tracing/src/
Dspan.rs447 let new_span = Attributes::new(meta, values); in new_with() localVariable
448 Self::make_with(meta, new_span, dispatch) in new_with()
471 let new_span = Attributes::new_root(meta, values); in new_root_with() localVariable
472 Self::make_with(meta, new_span, dispatch) in new_root_with()
503 let new_span = match parent.into() { in child_of_with() localVariable
507 Self::make_with(meta, new_span, dispatch) in child_of_with()
565 new_span: Attributes<'_>, in make_with()
568 let attrs = &new_span; in make_with()
569 let id = dispatch.new_span(attrs); in make_with()
/third_party/rust/crates/tracing/tracing-core/src/
Dsubscriber.rs258 fn new_span(&self, span: &span::Attributes<'_>) -> span::Id; in new_span() method
683 fn new_span(&self, _: &span::Attributes<'_>) -> span::Id { in new_span() method
722 fn new_span(&self, span: &span::Attributes<'_>) -> span::Id { in new_span() function
723 self.as_ref().new_span(span) in new_span()
807 fn new_span(&self, span: &span::Attributes<'_>) -> span::Id { in new_span() function
808 self.as_ref().new_span(span) in new_span()
Ddispatcher.rs532 pub fn new_span(&self, span: &span::Attributes<'_>) -> span::Id { in new_span() method
533 self.subscriber.new_span(span) in new_span()
897 fn new_span(&self, _: &span::Attributes<'_>) -> span::Id { in events_dont_infinite_loop() method
933 current.new_span(&span::Attributes::new( in spans_dont_infinite_loop()
946 fn new_span(&self, _: &span::Attributes<'_>) -> span::Id { in spans_dont_infinite_loop() method
986 fn new_span(&self, _: &span::Attributes<'_>) -> span::Id { in default_dispatch() method
/third_party/rust/crates/tracing/examples/examples/
Dcounters.rs79 fn new_span(&self, new_span: &span::Attributes<'_>) -> Id { in new_span() method
80 new_span.record(&mut self.visitor()); in new_span()
/third_party/rust/crates/tracing/tracing-core/tests/common/
Dmod.rs8 fn new_span(&self, _: &span::Attributes<'_>) -> span::Id { in new_span() method
22 fn new_span(&self, _: &span::Attributes<'_>) -> span::Id { in new_span() method
/third_party/rust/crates/tracing/tracing-subscriber/tests/
Dsame_len_filters.rs60 .new_span( in same_num_fields_and_name_len()
66 .new_span( in same_num_fields_and_name_len()
Dsupport.rs105 pub fn new_span<I>(mut self, new_span: I) -> Self in new_span() method
109 self.expected.push_back(Expect::NewSpan(new_span.into())); in new_span()
/third_party/rust/crates/tracing/tracing/benches/
Dshared.rs93 fn new_span(&self, span: &span::Attributes<'_>) -> Id { in new_span() method
131 fn new_span(&self, span: &span::Attributes<'_>) -> Id { in new_span() method
/third_party/rust/crates/tracing/tracing-mock/src/
Dsubscriber.rs145 pub fn new_span<I>(mut self, new_span: I) -> Self in new_span() function
149 self.expected.push_back(Expect::NewSpan(new_span.into())); in new_span()
297 fn new_span(&self, span: &Attributes<'_>) -> Id { in new_span() function
/third_party/rust/crates/tracing/tracing-subscriber/tests/env_filter/
Dmain.rs43 .new_span( in same_name_spans()
49 .new_span( in same_name_spans()
276 .new_span( in same_name_spans()
282 .new_span( in same_name_spans()

12