From fa30edc84d02bd73e3c9275b3bf1753c023a5a2b Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Wed, 13 Dec 2023 15:43:11 +0100 Subject: [PATCH] update op mode docs --- docs/content/reference/sdk-operating-modes.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/content/reference/sdk-operating-modes.md b/docs/content/reference/sdk-operating-modes.md index 7aa8cd2098ab..4fb7c0191179 100644 --- a/docs/content/reference/sdk-operating-modes.md +++ b/docs/content/reference/sdk-operating-modes.md @@ -75,6 +75,18 @@ Use [`rr.save`](https://ref.rerun.io/docs/python/stable/common/initialization_fu #### Rust Use [`RecordingStream::save`](https://docs.rs/rerun/latest/rerun/struct.RecordingStream.html#method.save). + +## Standard Input/Ouput + +Streams all logging data to standard output, which can then be loaded by the Rerun Viewer by streaming it from standard input. + +#### Rust + +Use [`RecordingStream::stdout`](https://docs.rs/rerun/latest/rerun/struct.RecordingStream.html#method.stdout?speculative-link). + +Check out our [dedicated example](https://github.com/rerun-io/rerun/tree/latest/examples/rust/stdio/src/main.rs?speculative-link). + + ## Adding the standard flags to your programs We provide helpers for both Python & Rust to effortlessly add and properly handle all of these flags in your programs.