Inherits AZ::Metrics::IEventLogger.
◆ RecordAsyncEventEnd()
| ResultOutcome AZ::Metrics::JsonTraceEventLogger::RecordAsyncEventEnd |
( |
const AsyncArgs & |
| ) |
|
|
override |
Records an end async event Uses the event header to populate the event fields
◆ RecordAsyncEventInstant()
| ResultOutcome AZ::Metrics::JsonTraceEventLogger::RecordAsyncEventInstant |
( |
const AsyncArgs & |
| ) |
|
|
override |
Records an instant async event Uses the event header to populate the event fields
◆ RecordAsyncEventStart()
| ResultOutcome AZ::Metrics::JsonTraceEventLogger::RecordAsyncEventStart |
( |
const AsyncArgs & |
| ) |
|
|
override |
Records a start async event Uses the event header to populate the event fields
◆ RecordCompleteEvent()
| ResultOutcome AZ::Metrics::JsonTraceEventLogger::RecordCompleteEvent |
( |
const CompleteArgs & |
| ) |
|
|
override |
Records a complete event(encapsulates a beging and end duration event) Uses the event header to populate the event fields
◆ RecordCounterEvent()
| ResultOutcome AZ::Metrics::JsonTraceEventLogger::RecordCounterEvent |
( |
const CounterArgs & |
| ) |
|
|
override |
Records a Counter Uses the event header to populate the event fields
◆ RecordDurationEventEnd()
| ResultOutcome AZ::Metrics::JsonTraceEventLogger::RecordDurationEventEnd |
( |
const DurationArgs & |
| ) |
|
|
override |
Records an end duration event Uses the event header to populate the event fields
◆ RecordInstantEvent()
| ResultOutcome AZ::Metrics::JsonTraceEventLogger::RecordInstantEvent |
( |
const InstantArgs & |
| ) |
|
|
override |
Records an instant event Uses the event header to populate the event fields
◆ ResetSettingsHandler()
| void AZ::Metrics::JsonTraceEventLogger::ResetSettingsHandler |
( |
| ) |
|
|
protected |
Reads the event logger "/O3DE/Metrics/<Name>/Active" setting from the Settings Registry and resets a handler to listen for changes to any setting below "/O3DE/Metrics/<Name>" key
◆ m_active
| bool AZ::Metrics::JsonTraceEventLogger::m_active { GetDefaultActiveState() } |
|
protected |
Active flag to to allow the record functions to write event data to the stream member The default is true When the name of the event logger is set, the value is updated from the settings registry "/O3DE/Metrics/<Name>/Active" bool
◆ m_prependComma
| AZStd::atomic_bool AZ::Metrics::JsonTraceEventLogger::m_prependComma { false } |
|
protected |
Keep track of whether this is the first event being logged This is used to prepend a leading comma before the event entry in the trace events array
◆ m_settingsRegistry
Stores a pointer to the SettingsRegistry used to query settings associated with this event logger instance If nullptr, the global SettingsRegistry is queried
The documentation for this class was generated from the following file:
- Code/Framework/AzCore/AzCore/Metrics/JsonTraceEventLogger.h