class LogSink
Defined at line 1186 of file fidling/gen/sdk/fidl/fuchsia.logger/fuchsia.logger/hlcpp/fuchsia/logger/cpp/fidl.h
Drains a program's logs.
Public Members
static const char[] Name_
Public Methods
void ~LogSink ()
void WaitForInterestChange (WaitForInterestChangeCallback callback)
LogSink implementers will return to this hanging-get whenever the scope of
their interest changes. Clients are expected to emit messages based on
the registered Interest. In the event that an empty interest is
conveyed, clients should emit messages based on their default
e.g. compile time configuration. Each client may only poll this once at a time.
Invoking WaitForInterestChange a second time before the first call returns will
result in an error being returned.
void ConnectStructured (::zx::socket socket)
Send this socket to be drained, using the structured logs format.
See [Encoding structured records](https://fuchsia.dev/fuchsia-src/reference/platform-spec/diagnostics/logs-encoding)
for what is expected to be received over the socket.
Protected Methods
void handle_unknown_method (uint64_t ordinal, bool method_has_response)
Friends
class LogSink_Stub