class LogStream
Defined at line 5876 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/hlcpp/fuchsia/diagnostics/cpp/fidl.h
Public Members
static const char[] Name_
Public Methods
void ~LogStream ()
void Connect (::zx::socket socket, ::fuchsia::diagnostics::LogStreamOptions opts)
Enables clients to stream all logs stored in the Archivist.
Expects a datagram or stream socket handle that can be written to.
If subscribe_to_manifest is used, a stream socket is required,
otherwise either a stream or datagram socket can be used.
Logs will be written in the original FXT format with two additional
arguments appended at the end of the record depending on the options
passed:
- `$__moniker`: the moniker of the component that emitted the log.
- `$__url`: the URL of the component that emitted the log.
- `$__rolled_out`: the number of logs that were rolled out from the
buffer before this one.
Protected Methods
void handle_unknown_method (uint64_t ordinal, bool method_has_response)
Friends
class LogStream_Stub