Update logEvent restriction description in doc (#32150)

* Update logEvent restriction description in doc

* Restyled by prettier-markdown

---------

Co-authored-by: Restyled.io <commits@restyled.io>
diff --git a/docs/cluster_and_device_type_dev/cluster_and_device_type_dev.md b/docs/cluster_and_device_type_dev/cluster_and_device_type_dev.md
index 9e34e96..ca8e295 100644
--- a/docs/cluster_and_device_type_dev/cluster_and_device_type_dev.md
+++ b/docs/cluster_and_device_type_dev/cluster_and_device_type_dev.md
@@ -238,7 +238,9 @@
         -   **MatterReportingAttributeChangeCallback**
 -   **Events**
     -   No direct ember support
-    -   Call LogEvent function in EventLogging.h
+    -   Call LogEvent function in EventLogging.h. Caller has to either lock the
+        Matter stack lock or queue the event to the Matter event queue when
+        using LogEvent.
 
 #### A note on Dynamic Endpoints