/third_party/rust/crates/tracing/tracing-subscriber/tests/layer_filters/ |
D | trees.rs | 5 let (with_target, with_target_handle) = layer::named("info_with_target") in basic_trees() 6 .event(event::mock().at_level(Level::INFO).with_target("my_target")) in basic_trees() 14 .with_target(module_path!()), in basic_trees() 16 .event(event::mock().at_level(Level::INFO).with_target("my_target")) in basic_trees() 24 .with_target(module_path!()), in basic_trees() 27 .event(event::mock().at_level(Level::INFO).with_target("my_target")) in basic_trees() 31 .with_target("my_target"), in basic_trees() 38 with_target.with_filter(filter::filter_fn(|meta| dbg!(meta.target()) == "my_target")), in basic_trees() 59 .enter(span::mock().with_target(target).at_level(Level::INFO)) in filter_span_scopes() 62 .in_scope(vec![span::mock().with_target(target).at_level(Level::INFO)]), in filter_span_scopes() [all …]
|
D | filter_scopes.rs | 72 .enter(span::mock().with_target(target)) in filters_interleaved_span_scopes() 73 .enter(span::mock().with_target(target)) in filters_interleaved_span_scopes() 75 span::mock().with_target(target), in filters_interleaved_span_scopes() 76 span::mock().with_target(target), in filters_interleaved_span_scopes() 81 span::mock().with_target(target), in filters_interleaved_span_scopes() 82 span::mock().with_target(target), in filters_interleaved_span_scopes() 84 .with_target(target), in filters_interleaved_span_scopes() 86 .exit(span::mock().with_target(target)) in filters_interleaved_span_scopes() 87 .exit(span::mock().with_target(target)) in filters_interleaved_span_scopes() 95 .enter(span::mock().with_target("b")) in filters_interleaved_span_scopes() [all …]
|
D | targets.rs | 22 .with_target(inner::MODULE_PATH, LevelFilter::WARN); in log_events() 45 let filter = Targets::new().with_target("magic_target", LevelFilter::DEBUG); in inner_layer_short_circuits()
|
D | combinators.rs | 13 .with_target("interesting_target"), in and()
|
/third_party/rust/crates/tracing/tracing-attributes/tests/ |
D | targets.rs | 29 .with_target(module_path!()), in default_targets() 34 .with_target(module_path!()), in default_targets() 39 .with_target(module_path!()), in default_targets() 44 .with_target(my_mod::MODULE_PATH), in default_targets() 49 .with_target(my_mod::MODULE_PATH), in default_targets() 54 .with_target(my_mod::MODULE_PATH), in default_targets() 70 .new_span(span::mock().named("custom_target").with_target("my_target")) in custom_targets() 71 .enter(span::mock().named("custom_target").with_target("my_target")) in custom_targets() 72 .exit(span::mock().named("custom_target").with_target("my_target")) in custom_targets() 76 .with_target("my_other_target"), in custom_targets() [all …]
|
D | instrument.rs | 26 .with_target("my_target"); in override_everything() 30 .with_target("my_target"); in override_everything() 59 .with_target("my_target"); in fields() 64 .with_target("my_target"); in fields() 112 .with_target("my_target"); in skip() 117 .with_target("my_target"); in skip() 122 .with_target("my_target"); in skip()
|
D | err.rs | 207 let span = span::mock().named("error_span").with_target("my_target"); in test_err_custom_target() 215 .with_target("my_target"), in test_err_custom_target()
|
D | ret.rs | 45 .with_target("my_target"); in test_custom_target() 54 .with_target("my_target"), in test_custom_target()
|
/third_party/rust/crates/tracing/tracing-subscriber/tests/env_filter/ |
D | main.rs | 71 .event(event::mock().at_level(Level::DEBUG).with_target("stuff")) in level_filter_event_with_target() 72 .event(event::mock().at_level(Level::WARN).with_target("stuff")) in level_filter_event_with_target() 74 .event(event::mock().at_level(Level::ERROR).with_target("stuff")) in level_filter_event_with_target() 140 .event(event::mock().at_level(Level::DEBUG).with_target("stuff")) in not_order_dependent() 141 .event(event::mock().at_level(Level::WARN).with_target("stuff")) in not_order_dependent() 143 .event(event::mock().at_level(Level::ERROR).with_target("stuff")) in not_order_dependent() 173 .event(event::mock().at_level(Level::INFO).with_target("hello")) in add_directive_enables_event() 174 .event(event::mock().at_level(Level::TRACE).with_target("hello")) in add_directive_enables_event() 306 .event(event::mock().at_level(Level::DEBUG).with_target("stuff")) in level_filter_event_with_target() 307 .event(event::mock().at_level(Level::WARN).with_target("stuff")) in level_filter_event_with_target() [all …]
|
D | per_layer.rs | 65 .event(event::mock().at_level(Level::DEBUG).with_target("stuff")) in level_filter_event_with_target() 66 .event(event::mock().at_level(Level::WARN).with_target("stuff")) in level_filter_event_with_target() 68 .event(event::mock().at_level(Level::ERROR).with_target("stuff")) in level_filter_event_with_target() 132 .event(event::mock().at_level(Level::DEBUG).with_target("stuff")) in not_order_dependent() 133 .event(event::mock().at_level(Level::WARN).with_target("stuff")) in not_order_dependent() 135 .event(event::mock().at_level(Level::ERROR).with_target("stuff")) in not_order_dependent() 166 .event(event::mock().at_level(Level::INFO).with_target("hello")) in add_directive_enables_event() 167 .event(event::mock().at_level(Level::TRACE).with_target("hello")) in add_directive_enables_event()
|
/third_party/rust/crates/tracing/tracing-subscriber/tests/ |
D | utils.rs | 12 .with_target("init_works"), in init_ext_works() 27 .with_target(false) in builders_are_init_ext()
|
/third_party/rust/crates/tracing/examples/examples/ |
D | fmt-source-locations.rs | 16 .with_target(false) in main()
|
D | fmt-custom-event.rs | 12 .with_target(false); // don't include targets in main()
|
D | journald.rs | 10 tracing_subscriber::registry().with(tracing_subscriber::fmt::layer().with_target(false)); in main()
|
/third_party/rust/crates/tracing/tracing-mock/src/ |
D | event.rs | 62 pub fn with_target<I>(self, target: I) -> Self in with_target() method
|
D | span.rs | 56 pub fn with_target<I>(self, target: I) -> Self in with_target() method
|
/third_party/rust/crates/tracing/tracing-subscriber/src/fmt/ |
D | fmt_layer.rs | 431 pub fn with_target(self, display_target: bool) -> Layer<S, N, format::Format<L, T>, W> { in with_target() function 433 fmt_event: self.fmt_event.with_target(display_target), in with_target() 1444 .with_target(false) in make_writer_based_on_meta()
|
D | mod.rs | 647 pub fn with_target( in with_target() function 652 inner: self.inner.with_target(display_target), in with_target()
|
/third_party/rust/crates/tracing/tracing-appender/src/ |
D | rolling.rs | 956 .with_target(false) in test_make_writer() 1038 .with_target(false) in test_max_log_files()
|
/third_party/rust/crates/tracing/tracing-subscriber/src/filter/ |
D | targets.rs | 218 pub fn with_target(mut self, target: impl Into<String>, level: impl Into<LevelFilter>) -> Self { in with_target() method
|
/third_party/rust/crates/tracing/tracing/tests/ |
D | event.rs | 144 .with_target("whatever"), in one_with_everything()
|
D | span.rs | 616 .with_target("app_span") in new_span_with_target_and_log_level()
|
/third_party/rust/crates/tracing/tracing-subscriber/src/fmt/format/ |
D | mod.rs | 735 pub fn with_target(self, display_target: bool) -> Format<F, T> { in with_target() method 1746 .with_target(false) in disable_everything()
|
/third_party/rust/crates/tracing/tracing-subscriber/ |
D | CHANGELOG.md | 1078 - **fmt**: Incorrect formatting with `with_target(false)` (#481)
|