Lines Matching full:subscriber
10 subscriber::with_default,
18 // Create a mock subscriber that will return `true` on calls to in handles_to_the_same_span_are_equal()
19 // `Subscriber::enabled`, so that the spans will be constructed. We in handles_to_the_same_span_are_equal()
20 // won't enter any spans in this test, so the subscriber won't actually in handles_to_the_same_span_are_equal()
22 with_default(subscriber::mock().run(), || { in handles_to_the_same_span_are_equal()
38 with_default(subscriber::mock().run(), || { in handles_to_different_spans_are_not_equal()
57 with_default(subscriber::mock().run(), || { in handles_to_different_spans_with_the_same_metadata_are_not_equal()
69 let subscriber1 = subscriber::mock() in spans_always_go_to_the_subscriber_that_tagged_them()
77 let subscriber2 = subscriber::mock().run(); in spans_always_go_to_the_subscriber_that_tagged_them()
84 // Even though we enter subscriber 2's context, the subscriber that in spans_always_go_to_the_subscriber_that_tagged_them()
96 let subscriber1 = subscriber::mock() in spans_always_go_to_the_subscriber_that_tagged_them_even_across_threads()
110 // Even though we enter subscriber 2's context, the subscriber that in spans_always_go_to_the_subscriber_that_tagged_them_even_across_threads()
113 with_default(subscriber::mock().run(), || { in spans_always_go_to_the_subscriber_that_tagged_them_even_across_threads()
124 let (subscriber, handle) = subscriber::mock() in dropping_a_span_calls_drop_span()
130 with_default(subscriber, || { in dropping_a_span_calls_drop_span()
142 let (subscriber, handle) = subscriber::mock() in span_closes_after_event()
149 with_default(subscriber, || { in span_closes_after_event()
161 let (subscriber, handle) = subscriber::mock() in new_span_after_event()
171 with_default(subscriber, || { in new_span_after_event()
184 let (subscriber, handle) = subscriber::mock() in event_outside_of_span()
191 with_default(subscriber, || { in event_outside_of_span()
202 let (subscriber, handle) = subscriber::mock() in cloning_a_span_calls_clone_span()
205 with_default(subscriber, || { in cloning_a_span_calls_clone_span()
218 let (subscriber, handle) = subscriber::mock() in drop_span_when_exiting_dispatchers_context()
223 with_default(subscriber, || { in drop_span_when_exiting_dispatchers_context()
235 let (subscriber1, handle1) = subscriber::mock() in clone_and_drop_span_always_go_to_the_subscriber_that_tagged_the_span()
244 let subscriber2 = subscriber::mock().only().run(); in clone_and_drop_span_always_go_to_the_subscriber_that_tagged_the_span()
251 // Even though we enter subscriber 2's context, the subscriber that in clone_and_drop_span_always_go_to_the_subscriber_that_tagged_the_span()
266 let (subscriber, handle) = subscriber::mock() in span_closes_when_exited()
272 with_default(subscriber, || { in span_closes_when_exited()
286 let (subscriber, handle) = subscriber::mock() in enter()
293 with_default(subscriber, || { in enter()
305 let (subscriber, handle) = subscriber::mock() in entered()
312 with_default(subscriber, || { in entered()
323 let (subscriber, handle) = subscriber::mock() in entered_api()
330 with_default(subscriber, || { in entered_api()
343 let (subscriber, handle) = subscriber::mock() in moved_field()
356 with_default(subscriber, || { in moved_field()
372 let (subscriber, handle) = subscriber::mock() in dotted_field_name()
380 with_default(subscriber, || { in dotted_field_name()
390 let (subscriber, handle) = subscriber::mock() in borrowed_field()
404 with_default(subscriber, || { in borrowed_field()
433 let (subscriber, handle) = subscriber::mock() in move_field_out_of_struct()
449 with_default(subscriber, || { in move_field_out_of_struct()
466 let (subscriber, handle) = subscriber::mock() in float_values()
477 with_default(subscriber, || { in float_values()
491 let (subscriber, handle) = subscriber::mock()
508 with_default(subscriber, || {
520 let (subscriber, handle) = subscriber::mock()
536 with_default(subscriber, || {
550 let (subscriber, handle) = subscriber::mock() in record_new_value_for_field()
569 with_default(subscriber, || { in record_new_value_for_field()
581 let (subscriber, handle) = subscriber::mock() in record_new_values_for_fields()
604 with_default(subscriber, || { in record_new_values_for_fields()
617 let (subscriber, handle) = subscriber::mock() in new_span_with_target_and_log_level()
627 with_default(subscriber, || { in new_span_with_target_and_log_level()
637 let (subscriber, handle) = subscriber::mock() in explicit_root_span_is_root()
642 with_default(subscriber, || { in explicit_root_span_is_root()
652 let (subscriber, handle) = subscriber::mock() in explicit_root_span_is_root_regardless_of_ctx()
660 with_default(subscriber, || { in explicit_root_span_is_root_regardless_of_ctx()
672 let (subscriber, handle) = subscriber::mock() in explicit_child()
682 with_default(subscriber, || { in explicit_child()
693 let (subscriber, handle) = subscriber::mock() in explicit_child_at_levels()
703 with_default(subscriber, || { in explicit_child_at_levels()
718 let (subscriber, handle) = subscriber::mock() in explicit_child_regardless_of_ctx()
731 with_default(subscriber, || { in explicit_child_regardless_of_ctx()
743 let (subscriber, handle) = subscriber::mock() in contextual_root()
748 with_default(subscriber, || { in contextual_root()
758 let (subscriber, handle) = subscriber::mock() in contextual_child()
770 with_default(subscriber, || { in contextual_child()
782 let (subscriber, handle) = subscriber::mock() in display_shorthand()
792 with_default(subscriber, || { in display_shorthand()
802 let (subscriber, handle) = subscriber::mock() in debug_shorthand()
812 with_default(subscriber, || { in debug_shorthand()
822 let (subscriber, handle) = subscriber::mock() in both_shorthands()
833 with_default(subscriber, || { in both_shorthands()
843 let (subscriber, handle) = subscriber::mock() in constant_field_name()
856 with_default(subscriber, || { in constant_field_name()