class LogSource

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

Receives log messages from the system's logging service and dispatches them to a sink.

Public Methods

void LogSource (async_dispatcher_t * dispatcher, std::shared_ptr<sys::ServiceDirectory> services, LogSink * sink, std::unique_ptr<backoff::Backoff> backoff)

Defined at line 22 of file ../../src/developer/forensics/feedback_data/log_source.cc

void Start ()

Starts log collection.

Note: a check-fail will occur if |sink_| cannot safely receive messages after being interrupted

and the log stream has stopped due to a disconnection or call to Stop.

Defined at line 59 of file ../../src/developer/forensics/feedback_data/log_source.cc

void Stop ()

Stops log collection and notfies |sink_| collection was interrupted.

Defined at line 120 of file ../../src/developer/forensics/feedback_data/log_source.cc