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

Namespaces

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

Macros

#define LX(event)   alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)
 

Functions

static const std::string alexaClientSDK::avsCommon::utils::file::TAG ("FileUtils")
 String to identify log entries originating from this file. More...
 
bool alexaClientSDK::avsCommon::utils::file::fileExists (const std::string &filePath)
 
bool alexaClientSDK::avsCommon::utils::file::removeFile (const std::string &filePath)
 

Macro Definition Documentation

◆ LX

#define LX (   event)    alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Parameters
Theevent string for this LogEntry.

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