class LoggingManagement
Defined at line 187 of file x64-shared/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 x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/data-management/Current/LoggingManagement.h
void LoggingManagement (nl::Weave::WeaveExchangeManager * inMgr, size_t inNumBuffers, const LogStorageResources *const inLogStorageResources)
void LoggingManagement ()
LoggingManagement & GetInstance ()
void CreateLoggingManagement (nl::Weave::WeaveExchangeManager * inMgr, size_t inNumBuffers, const LogStorageResources *const inLogStorageResources)
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, EventWriterFunct inEventWriter, void * inAppData, const EventOptions * inOptions)
WEAVE_ERROR GetEventReader (nl::Weave::TLV::TLVReader & ioReader, ImportanceType inImportance)
WEAVE_ERROR FetchEventsSince (nl::Weave::TLV::TLVWriter & ioWriter, ImportanceType inImportance, event_id_t & ioEventID)
WEAVE_ERROR ScheduleFlushIfNeeded (bool inFlushRequested)
WEAVE_ERROR SetLoggingEndpoint (event_id_t * inEventEndpoints, size_t inNumImportanceLevels, size_t & outLoggingPosition)
uint32_t GetBytesWritten ()
void NotifyEventsDelivered (ImportanceType inImportance, event_id_t inLastDeliveredEventID, uint64_t inRecipientNodeID)
event_id_t GetLastEventID (ImportanceType inImportance)
event_id_t GetFirstEventID (ImportanceType inImportance)
void ThrottleLogger ()
void UnthrottleLogger ()
void SetBDXUploader (LogBDXUpload * inUploader)
WEAVE_ERROR RegisterEventCallbackForImportance (ImportanceType inImportance, FetchExternalEventsFunct inFetchCallback, NotifyExternalEventsDeliveredFunct inNotifyCallback, NotifyExternalEventsEvictedFunct inEvictedCallback, size_t inNumEvents, event_id_t * outLastEventID)
WEAVE_ERROR RegisterEventCallbackForImportance (ImportanceType inImportance, FetchExternalEventsFunct inFetchCallback, NotifyExternalEventsDeliveredFunct inNotifyCallback, size_t inNumEvents, event_id_t * outLastEventID)
WEAVE_ERROR RegisterEventCallbackForImportance (ImportanceType inImportance, FetchExternalEventsFunct inFetchCallback, size_t inNumEvents, event_id_t * outLastEventID)
void UnregisterEventCallbackForImportance (ImportanceType inImportance, event_id_t inEventID)
WEAVE_ERROR BlitEvent (EventLoadOutContext * aContext, const EventSchema & inSchema, EventWriterFunct inEventWriter, void * inAppData, const EventOptions * inOptions)
void SkipEvent (EventLoadOutContext * aContext)
bool CheckShouldRunWDM ()
Friends
class LogBDXUpload