![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <LogEntryBuffer.h>
Public Member Functions | |
LogEntryBuffer () | |
Construct an empty LogEntryBuffer. More... | |
int_type | overflow (int_type ch) override |
const char * | c_str () const |
A simple override of std::streambuf
to accumulate the content of a stream into a contiguous buffer so that the stream contents do not need to be copied to be accessed as a string. To avoid needless heap allocation the initial put buffer is a member variable that should be large enough to accommodate most log entries.
alexaClientSDK::avsCommon::utils::logger::LogEntryBuffer::LogEntryBuffer | ( | ) |
Construct an empty LogEntryBuffer.
const char* alexaClientSDK::avsCommon::utils::logger::LogEntryBuffer::c_str | ( | ) | const |
Access the contents of the accumulated buffer as a string.
|
override |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0