AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions
Level.cpp File Reference
#include <cassert>
#include <unordered_map>
#include "AVSCommon/Utils/Logger/Level.h"
Include dependency graph for Level.cpp:

Namespaces

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

Macros

#define LEVEL_TO_NAME(name)
 
#define LEVEL_TO_CHAR(name, ch)
 
#define NAME_TO_LEVEL(name)   { #name, Level::name }
 

Functions

std::string alexaClientSDK::avsCommon::utils::logger::convertLevelToName (Level level)
 
char alexaClientSDK::avsCommon::utils::logger::convertLevelToChar (Level level)
 
Level alexaClientSDK::avsCommon::utils::logger::convertNameToLevel (const std::string &name)
 

Macro Definition Documentation

◆ LEVEL_TO_CHAR

#define LEVEL_TO_CHAR (   name,
  ch 
)
Value:
case Level::name: \
return ch;

◆ LEVEL_TO_NAME

#define LEVEL_TO_NAME (   name)
Value:
case Level::name: \
return #name;

◆ NAME_TO_LEVEL

#define NAME_TO_LEVEL (   name)    { #name, Level::name }

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