class LogSink

Defined at line 23 of file ../../src/developer/forensics/feedback_data/log_source.h

Receives logs emitted by the system.

Public Methods

bool Add (MessageOr message)

Adds |message| to the sink.

Returns false if the write fails though callers are not expected to take action on failure.

void NotifyInterruption ()

Notifies the sink the log source was interrupted and the messages it received in the past may

be sent again.

bool SafeAfterInterruption ()

Returns true if the sink is safe to use after an interruption has occurred.