AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::avsCommon::utils::logger::LogEntryStream Class Reference

#include <LogEntryStream.h>

Inheritance diagram for alexaClientSDK::avsCommon::utils::logger::LogEntryStream:
Inheritance graph
Collaboration diagram for alexaClientSDK::avsCommon::utils::logger::LogEntryStream:
Collaboration graph

Public Member Functions

 LogEntryStream ()
 Create a new LogEntryStream. More...
const char * c_str () const

Detailed Description

A simple override of std::ostream specialized to minimizing copying and memory allocations while constructing the text of a LogEntry.

Constructor & Destructor Documentation

◆ LogEntryStream()

alexaClientSDK::avsCommon::utils::logger::LogEntryStream::LogEntryStream ( )

Create a new LogEntryStream.

Member Function Documentation

◆ c_str()

const char* alexaClientSDK::avsCommon::utils::logger::LogEntryStream::c_str ( ) const

Access the contents of the accumulated stream as string.

The contents of the accumulated stream as string. The pointer returned is only guaranteed to be valid for the lifetime of this LogEntryStream, and only as long as no further modifications are made to it.

The documentation for this class was generated from the following file:

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