Skip to content

Commit

Permalink
update LogEvent usage restriction (#31726)
Browse files Browse the repository at this point in the history
* update LogEvent usage restriction

* Restyled by whitespace

* Update src/app/EventLogging.h

Co-authored-by: Tennessee Carmel-Veilleux <[email protected]>

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Tennessee Carmel-Veilleux <[email protected]>
  • Loading branch information
3 people authored and pull[bot] committed Jun 5, 2024
1 parent d6f2a8a commit 1079320
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/EventLogging.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ class EventLogger : public EventLoggingDelegate
* context tags to be interpreted within the schema identified by
* `ClusterID` and `EventId`.
*
* The consumer has to either lock the Matter stack lock or queue the event to
* the Matter event queue when using LogEvent. This function is not safe to call
* outside of the main Matter processing context.
*
* LogEvent has 2 variant, one for fabric-scoped events and one for non-fabric-scoped events.
* @param[in] aEventData The event cluster object
* @param[in] aEndpoint The current cluster's Endpoint Id
Expand Down

0 comments on commit 1079320

Please sign in to comment.