AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Macros
LogEntryBuffer.h File Reference
#include <memory>
#include <streambuf>
#include <vector>
Include dependency graph for LogEntryBuffer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  alexaClientSDK::avsCommon::utils::logger::LogEntryBuffer
 

Namespaces

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

Macros

#define ACSDK_LOG_ENTRY_BUFFER_SMALL_BUFFER_SIZE   128
 

Macro Definition Documentation

◆ ACSDK_LOG_ENTRY_BUFFER_SMALL_BUFFER_SIZE

#define ACSDK_LOG_ENTRY_BUFFER_SMALL_BUFFER_SIZE   128

The size of LogEntryBuffer::m_smallBuffer. Instances of LogEntryBuffer are expected to be allocated on the stack in most use cases. Rather than pick a value that would be large enough for almost any normal log lines (e.g. 4096), a smaller value (128) that will handle the vast majority of typical log lines was chosen to reduce the impact on the stack.

#ifndef used here to allow overriding this value from the compiler command line.

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