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

Namespaces

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

Variables

static const char * alexaClientSDK::avsCommon::utils::logger::STRFTIME_FORMAT_STRING = "%Y-%m-%d %H:%M:%S"
 Format string for strftime() to produce date and time in the format "YYYY-MM-DD HH:MM:SS". More...
 
static const int alexaClientSDK::avsCommon::utils::logger::DATE_AND_TIME_STRING_SIZE = 20
 Size of buffer needed to hold "YYYY-MM-DD HH:MM:SS" and a null terminator. More...
 
static const char alexaClientSDK::avsCommon::utils::logger::TIME_AND_MILLIS_SEPARATOR = '.'
 Separator between date/time and millis. More...
 
static const char * alexaClientSDK::avsCommon::utils::logger::MILLIS_FORMAT_STRING = "%03d"
 
static const int alexaClientSDK::avsCommon::utils::logger::MILLIS_STRING_SIZE = 4
 Size of buffer needed to hold "nnn" (milliseconds value) and a null terminator. More...
 
static const std::string alexaClientSDK::avsCommon::utils::logger::MILLIS_AND_THREAD_SEPARATOR = " ["
 Separator string between milliseconds value and ExampleLogger name. More...
 
static const std::string alexaClientSDK::avsCommon::utils::logger::THREAD_AND_LEVEL_SEPARATOR = "] "
 Separator between thread ID and level indicator in log lines. More...
 
static const char alexaClientSDK::avsCommon::utils::logger::LEVEL_AND_TEXT_SEPARATOR = ' '
 Separator between level indicator and text in log lines. More...
 
static const int alexaClientSDK::avsCommon::utils::logger::MILLISECONDS_PER_SECOND = 1000
 Number of milliseconds per second. More...
 

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