AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Macros | Variables
Metrics.h File Reference
#include <AVSCommon/Utils/Logger/LogEntry.h>
#include <AVSCommon/AVS/AVSMessage.h>
Include dependency graph for Metrics.h:

Go to the source code of this file.

Classes

class  alexaClientSDK::avsCommon::utils::Metrics
 

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::avsCommon
 
 alexaClientSDK::avsCommon::utils
 

Macros

#define ACSDK_METRIC_IDS(TAG, name, messageId, dialogRequestId, location)
 
#define ACSDK_METRIC_MSG(TAG, msg, location)
 

Variables

const std::string alexaClientSDK::avsCommon::utils::METRICS_TAG = ":METRICS:"
 

Macro Definition Documentation

◆ ACSDK_METRIC_IDS

#define ACSDK_METRIC_IDS (   TAG,
  name,
  messageId,
  dialogRequestId,
  location 
)

Compile out a METRIC log line.

Parameters
TAGThe name of the source of the log entry
nameThe Event \ Directive name.
messageIdThe message ID of the Event \ directive
dialogRequestIdThe dialog request ID of the Event \ Directive
locationThe location where this message was issued.

◆ ACSDK_METRIC_MSG

#define ACSDK_METRIC_MSG (   TAG,
  msg,
  location 
)

Compile out a METRIC log line.

Parameters
TAGThe name of the source of the log entry
msgThe text (or builder of the text) for the log entry.
locationThe location where this message was issued.

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0