Home
last modified time | relevance | path

Searched refs:make_writer (Results 1 – 9 of 9) sorted by relevance

/third_party/rust/crates/tracing/tracing-subscriber/src/fmt/
Dfmt_layer.rs68 make_writer: W, field
121 make_writer: self.make_writer, in event_format()
151 make_writer: self.make_writer, in map_event_format()
177 pub fn with_writer<W2>(self, make_writer: W2) -> Layer<S, N, E, W2> in with_writer()
187 make_writer, in with_writer()
196 &self.make_writer in writer()
227 &mut self.make_writer in writer_mut()
271 make_writer: TestWriter::default(), in with_test_writer()
333 make_writer: f(self.make_writer), in map_writer()
362 make_writer: self.make_writer, in with_timer()
[all …]
Dwriter.rs116 fn make_writer(&'a self) -> Self::Writer; in make_writer() method
208 self.make_writer() in make_writer_for()
680 fn make_writer(&'a self) -> Self::Writer { in make_writer() function
690 fn make_writer(&'a self) -> Self::Writer { in make_writer() function
697 fn make_writer(&'a self) -> Self::Writer { in make_writer() method
726 fn make_writer(&'a self) -> Self::Writer { in make_writer() method
736 pub fn new<M>(make_writer: M) -> Self in new()
741 inner: Box::new(Boxed(make_writer)), in new()
759 fn make_writer(&'a self) -> Self::Writer { in make_writer() method
760 self.inner.make_writer() in make_writer()
[all …]
Dmod.rs1026 pub fn with_writer<W2>(self, make_writer: W2) -> SubscriberBuilder<N, E, F, W2> in with_writer()
1032 inner: self.inner.with_writer(make_writer), in with_writer()
1311 fn make_writer(&'a self) -> Self::Writer { in make_writer() method
/third_party/rust/crates/tracing/tracing-subscriber/src/fmt/format/
Dmod.rs1741 let make_writer = MockMakeWriter::default(); in disable_everything() localVariable
1743 .with_writer(make_writer.clone()) in disable_everything()
1751 assert_info_hello(subscriber, make_writer, "hello\n") in disable_everything()
1762 let make_writer = MockMakeWriter::default(); in test_ansi() localVariable
1764 .with_writer(make_writer.clone()) in test_ansi()
1767 run_test(subscriber, make_writer, expected) in test_ansi()
1778 let make_writer = MockMakeWriter::default(); in test_without_ansi() localVariable
1779 let subscriber = builder.with_writer(make_writer).with_timer(MockTime); in test_without_ansi()
1780 run_test(subscriber, make_writer, expected) in test_without_ansi()
1790 let make_writer = MockMakeWriter::default(); in test_without_level() localVariable
[all …]
Djson.rs709 let make_writer = MockMakeWriter::default(); in record_works() localVariable
712 .with_writer(make_writer.clone()) in record_works()
718 parse_as_json(&make_writer)["fields"]["message"], in record_works()
728 parse_as_json(&make_writer)["fields"]["message"], in record_works()
839 let make_writer = MockMakeWriter::default(); in test_json() localVariable
841 .with_writer(make_writer.clone()) in test_json()
847 let buf = make_writer.buf(); in test_json()
861 let make_writer = MockMakeWriter::default(); in test_json_with_line_number() localVariable
863 .with_writer(make_writer.clone()) in test_json_with_line_number()
869 let buf = make_writer.buf(); in test_json_with_line_number()
/third_party/rust/crates/tracing/tracing-appender/benches/
Dbench.rs24 fn make_writer(&self) -> Self::Writer { in make_writer() method
54 let make_writer = NoOpWriter::new(); in synchronous_benchmark() localVariable
55 let cloned_make_writer = make_writer.clone(); in synchronous_benchmark()
58 let subscriber = tracing_subscriber::fmt().with_writer(make_writer); in synchronous_benchmark()
/third_party/rust/crates/tracing/tracing-appender/
DREADME.md71 with a [`MakeWriter`][make_writer] implementation to be able to record
138 [make_writer]: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/fmt/trait.MakeWriter.ht…
/third_party/rust/crates/tracing/tracing-appender/src/
Dnon_blocking.rs254 fn make_writer(&'a self) -> Self::Writer { in make_writer() method
Drolling.rs241 fn make_writer(&'a self) -> Self::Writer { in make_writer() method