Skip to content

Commit d823ed6

Browse files
authored
Add log tag for fabric synchronization (project-chip#33446)
* Add log tag for fabric synchrinization * Address review comment
1 parent de95c32 commit d823ed6

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/lib/support/logging/Constants.h

+5
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ enum LogModule
6060
kLogModule_Automation,
6161
kLogModule_CASESessionManager,
6262
kLogModule_ICD,
63+
kLogModule_FabricSync,
6364

6465
kLogModule_Max
6566
};
@@ -231,6 +232,10 @@ enum LogModule
231232
#define CHIP_CONFIG_LOG_MODULE_ICD 1
232233
#endif
233234

235+
#ifndef CHIP_CONFIG_LOG_MODULE_FabricSync
236+
#define CHIP_CONFIG_LOG_MODULE_FabricSync 1
237+
#endif
238+
234239
/**
235240
* @enum LogCategory
236241
*

src/lib/support/logging/TextOnlyLogging.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ static const char ModuleNames[kLogModule_Max][kMaxModuleNameLen + 1] = {
149149
"OSS", // OperationalSessionSetup
150150
"ATM", // Automation
151151
"CSM", // CASESessionManager
152+
"ICD", // ICD
153+
"FS", // FabricSync
152154
};
153155

154156
} // namespace

0 commit comments

Comments
 (0)