Enumerations

enum LogModule
Name Value
kLogModule_NotSpecified 0
kLogModule_Inet 1
kLogModule_Ble 2
kLogModule_MessageLayer 3
kLogModule_SecurityManager 4
kLogModule_ExchangeManager 5
kLogModule_TLV 6
kLogModule_ASN1 7
kLogModule_Crypto 8
kLogModule_DeviceManager 9
kLogModule_Alarm 10
kLogModule_BDX 11
kLogModule_DataManagement 12
kLogModule_DeviceControl 13
kLogModule_DeviceDescription 14
kLogModule_Echo 15
kLogModule_FabricProvisioning 16
kLogModule_NetworkProvisioning 17
kLogModule_ServiceDirectory 18
kLogModule_ServiceProvisioning 19
kLogModule_SoftwareUpdate 20
kLogModule_TokenPairing 21
kLogModule_HeatLink 22
kLogModule_TimeService 23
kLogModule_WeaveTunnel 24
kLogModule_Heartbeat 25
kLogModule_WeaveSystemLayer 26
kLogModule_DropcamLegacyPairing 27
kLogModule_EventLogging 28
kLogModule_Support 29
kLogModule_Application 30
kLogModule_Max 31

Identifies a logical section of code that is a source of log

messages.

Defined at line 79 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Support/logging/WeaveLogging.h

enum LogCategory
Name Value
kLogCategory_None 0
kLogCategory_Error 1
kLogCategory_Progress 2
kLogCategory_Detail 3
kLogCategory_Retain 4
kLogCategory_Max kLogCategory_Retain

Identifies a category to which an particular error message

belongs.

Defined at line 125 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Support/logging/WeaveLogging.h

Functions

  • void Log (uint8_t module, uint8_t category, const char * file, uint32_t line, const char * msg)
  • void GetMessageWithPrefix (char * buf, uint8_t bufSize, uint8_t module, const char * msg)
  • void GetModuleName (char * buf, uint8_t module)
  • void GetCategoryName (char * buf, uint8_t bufSize, uint8_t category)
  • void PrintMessagePrefix (uint8_t module)
  • void Log (uint8_t module, uint8_t category, const char * msg)
  • uint8_t GetLogFilter ()
  • void SetLogFilter (uint8_t category)
  • void SetLogFunct (LogMessageFunct logFunct)

Variables

uint8_t gLogFilter