class SystemLog

Defined at line 92 of file ../../src/developer/forensics/feedback/attachments/system_log.h

Collects the system log.

The system log is streamed and buffered on the first call to Get and continues streaming until

|active_period_| past the end of the call elapses.

fuchsia.diagnostics.ArchiveAccessor.feedback is expected to be in |services|.

Public Methods

void SystemLog (async_dispatcher_t * dispatcher, std::shared_ptr<sys::ServiceDirectory> services, timekeeper::Clock * clock, RedactorBase * redactor, zx::duration active_period)

Defined at line 204 of file ../../src/developer/forensics/feedback/attachments/system_log.cc

::fpromise::promise<AttachmentValue> Get (uint64_t ticket)

Returns a promise to the system log and allows collection to be terminated early with |ticket|.

Defined at line 244 of file ../../src/developer/forensics/feedback/attachments/system_log.cc

void ForceCompletion (uint64_t ticket, Error error)

Completes the system log collection promise associated with |ticket| early, if it hasn't

already completed.

Defined at line 290 of file ../../src/developer/forensics/feedback/attachments/system_log.cc