Rerun C++ SDK
|
Log sink which streams messages to a gRPC server. More...
#include <rerun/log_sink.hpp>
Public Member Functions | |
operator LogSink () const | |
Public Attributes | |
std::string_view | url = "rerun+http://127.0.0.1:9876/proxy" |
A Rerun gRPC URL. | |
float | flush_timeout_sec = 3.0 |
The minimum time the SDK will wait during a flush before potentially dropping data if progress is not being made. | |
Log sink which streams messages to a gRPC server.
The behavior of this sink is the same as the one set by RecordingStream::connect_grpc
.
std::string_view rerun::GrpcSink::url = "rerun+http://127.0.0.1:9876/proxy" |
A Rerun gRPC URL.
The scheme must be one of rerun://
, rerun+http://
, or rerun+https://
, and the pathname must be /proxy
.
The default is rerun+http://127.0.0.1:9876/proxy
.
float rerun::GrpcSink::flush_timeout_sec = 3.0 |
The minimum time the SDK will wait during a flush before potentially dropping data if progress is not being made.
Passing a negative value indicates no timeout, and can cause a call to flush
to block indefinitely.