class PreviousBootLog
Defined at line 26 of file ../../src/developer/forensics/feedback/attachments/previous_boot_log.h
Collects the previous boot log and proactively deletes the previous boot log after
|delete_previous_boot_log_at| of device runtime. When the previous boot log is collected, the
previous boot log will also be lazily deleted if more than |delete_previous_boot_log_at| of
device uptime has passed.
Public Methods
void PreviousBootLog (async_dispatcher_t * dispatcher, timekeeper::Clock * clock, std::optional<zx::duration> delete_previous_boot_log_at, std::string path)
Defined at line 16 of file ../../src/developer/forensics/feedback/attachments/previous_boot_log.cc
::fpromise::promise<AttachmentValue> Get (uint64_t ticket)
Returns a promise, that is immediately available, to the previous boot log.
Defined at line 47 of file ../../src/developer/forensics/feedback/attachments/previous_boot_log.cc