class LoggingManagement
Defined at line 187 of file gen/third_party/openweave-core/src/include/Weave/Profiles/data-management/Current/LoggingManagement.h
A class for managing the in memory event logs.
Public Methods
bool IsValid ()
IsValid returns whether the LoggingManagement instance is valid
Defined at line 235 of file gen/third_party/openweave-core/src/include/Weave/Profiles/data-management/Current/LoggingManagement.h
void LoggingManagement (nl::Weave::WeaveExchangeManager *inMgr,size_tinNumBuffers,const LogStorageResources *constinLogStorageResources)
void LoggingManagement ()
LoggingManagement & GetInstance ()
void CreateLoggingManagement (nl::Weave::WeaveExchangeManager *inMgr,size_tinNumBuffers,const LogStorageResources *constinLogStorageResources)
void DestroyLoggingManagement ()
WEAVE_ERROR LoadEvents (TLVReader & reader)
WEAVE_ERROR SerializeEvents (TLVWriter & writer)
void MarkShutdownInProgress ()
void CancelShutdownInProgress ()
bool IsShutdownInProgress ()
WEAVE_ERROR SetExchangeManager (nl::Weave::WeaveExchangeManager * inMgr)
event_id_t LogEvent (const EventSchema &inSchema,EventWriterFunctinEventWriter,void *inAppData,const EventOptions *inOptions)
WEAVE_ERROR GetEventReader (nl::Weave::TLV::TLVReader & ioReader, ImportanceType inImportance)
WEAVE_ERROR FetchEventsSince (nl::Weave::TLV::TLVWriter &ioWriter,ImportanceTypeinImportance,event_id_t &ioEventID)
WEAVE_ERROR ScheduleFlushIfNeeded (bool inFlushRequested)
WEAVE_ERROR SetLoggingEndpoint (event_id_t *inEventEndpoints,size_tinNumImportanceLevels,size_t &outLoggingPosition)
uint32_t GetBytesWritten ()
void NotifyEventsDelivered (ImportanceTypeinImportance,event_id_tinLastDeliveredEventID,uint64_tinRecipientNodeID)
event_id_t GetLastEventID (ImportanceType inImportance)
event_id_t GetFirstEventID (ImportanceType inImportance)
void ThrottleLogger ()
void UnthrottleLogger ()
void SetBDXUploader (LogBDXUpload * inUploader)
WEAVE_ERROR RegisterEventCallbackForImportance (ImportanceTypeinImportance,FetchExternalEventsFunctinFetchCallback,NotifyExternalEventsDeliveredFunctinNotifyCallback,NotifyExternalEventsEvictedFunctinEvictedCallback,size_tinNumEvents,event_id_t *outLastEventID)
WEAVE_ERROR RegisterEventCallbackForImportance (ImportanceTypeinImportance,FetchExternalEventsFunctinFetchCallback,NotifyExternalEventsDeliveredFunctinNotifyCallback,size_tinNumEvents,event_id_t *outLastEventID)
WEAVE_ERROR RegisterEventCallbackForImportance (ImportanceTypeinImportance,FetchExternalEventsFunctinFetchCallback,size_tinNumEvents,event_id_t *outLastEventID)
void UnregisterEventCallbackForImportance (ImportanceType inImportance, event_id_t inEventID)
WEAVE_ERROR BlitEvent (EventLoadOutContext *aContext,const EventSchema &inSchema,EventWriterFunctinEventWriter,void *inAppData,const EventOptions *inOptions)
void SkipEvent (EventLoadOutContext * aContext)
bool CheckShouldRunWDM ()
Friends
class LogBDXUpload