class AtTimePointLoggerInterface
Defined at line 19 of file ../../third_party/cobalt/src/logger/at_time_point_logger_interface.h
AtTimePointLoggerInterface is the client-facing interface to Cobalt on platforms where Cobalt
does not run as a service. On those platforms, we rely on the caller to provide timestamps
for log events directly rather than inferring those timestamps from the system clock.
Public Methods
void AtTimePointLoggerInterface (const AtTimePointLoggerInterface & )
AtTimePointLogger should be move-only
Defined at line 22 of file ../../third_party/cobalt/src/logger/at_time_point_logger_interface.h
AtTimePointLoggerInterface & operator= (const AtTimePointLoggerInterface & )
Defined at line 23 of file ../../third_party/cobalt/src/logger/at_time_point_logger_interface.h
void AtTimePointLoggerInterface ()
Defined at line 24 of file ../../third_party/cobalt/src/logger/at_time_point_logger_interface.h
Status LogOccurrence (uint32_t metric_id, uint64_t count, const ::std::vector<uint32_t> & event_codes, const ::std::chrono::system_clock::time_point & event_timestamp)
Logs that an occurrence event happened at a particular point in time given
by |event_timestamp|.
Status LogInteger (uint32_t metric_id, int64_t value, const ::std::vector<uint32_t> & event_codes, const ::std::chrono::system_clock::time_point & event_timestamp)
Logs that an integer log event happened at a particular point in time given
by |event_timestamp|.
Status LogIntegerHistogram (uint32_t metric_id, HistogramPtr histogram, const ::std::vector<uint32_t> & event_codes, const ::std::chrono::system_clock::time_point & event_timestamp)
Logs that an integer histogram log event happened at a particular point in
time given by |event_timestamp|.
Status LogString (uint32_t metric_id, const std::string & string_value, const ::std::vector<uint32_t> & event_codes, const ::std::chrono::system_clock::time_point & event_timestamp)
Logs that an string log event happened at a particular point in time given
by |event_timestamp|.
void PauseInternalLogging ()
Pauses Cobalt's internal metrics collection.
void ResumeInternalLogging ()
Resumes Cobalt's internal metrics collection.
void ~AtTimePointLoggerInterface ()
Defined at line 26 of file ../../third_party/cobalt/src/logger/at_time_point_logger_interface.h