Skip to content

Commit

Permalink
Add log tag for fabric synchronization (#33446)
Browse files Browse the repository at this point in the history
* Add log tag for fabric synchrinization

* Address review comment
  • Loading branch information
yufengwangca authored and pull[bot] committed Jun 4, 2024
1 parent c35dc39 commit 1256672
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/support/logging/Constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ enum LogModule
kLogModule_Automation,
kLogModule_CASESessionManager,
kLogModule_ICD,
kLogModule_FabricSync,

kLogModule_Max
};
Expand Down Expand Up @@ -231,6 +232,10 @@ enum LogModule
#define CHIP_CONFIG_LOG_MODULE_ICD 1
#endif

#ifndef CHIP_CONFIG_LOG_MODULE_FabricSync
#define CHIP_CONFIG_LOG_MODULE_FabricSync 1
#endif

/**
* @enum LogCategory
*
Expand Down
2 changes: 2 additions & 0 deletions src/lib/support/logging/TextOnlyLogging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ static const char ModuleNames[kLogModule_Max][kMaxModuleNameLen + 1] = {
"OSS", // OperationalSessionSetup
"ATM", // Automation
"CSM", // CASESessionManager
"ICD", // ICD
"FS", // FabricSync
};

} // namespace
Expand Down

0 comments on commit 1256672

Please sign in to comment.