class LogListenerSafe

Defined at line 1311 of file fidling/gen/sdk/fidl/fuchsia.logger/fuchsia.logger/hlcpp/fuchsia/logger/cpp/fidl.h

A listener who will notify the `Log` of the receipt of each message.

Public Methods

void ~LogListenerSafe ()
void Log (::fuchsia::logger::LogMessage log, LogCallback callback)

Called for single messages.

The return value is used for flow control, and implementers should acknowledge receipt of

each message in order to continue receiving future messages.

void LogMany (::std::vector< ::fuchsia::logger::LogMessage> log, LogManyCallback callback)

Called when serving cached logs.

Max logs size per call is `MAX_LOG_MANY_SIZE_BYTES` bytes.

The return value is used for flow control, and implementers should acknowledge receipt of

each batch in order to continue receiving future messages.

void Done ()

Called when this listener was passed to `DumpLogsSafe()` and all cached logs have been sent.