AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Aws::LoggingOptions Struct Reference

#include <Aws.h>

Public Member Functions

 

Public Attributes

 
const char * defaultLogPrefix
 
std::function< std::shared_ptr< Aws::Utils::Logging::LogSystemInterface >()> logger_create_fn
 
 

Detailed Description

SDK wide options for logging

Definition at line 26 of file Aws.h.

Constructor & Destructor Documentation

◆ LoggingOptions()

Aws::LoggingOptions::LoggingOptions ( )
inline

Definition at line 28 of file Aws.h.

Member Data Documentation

◆ crt_logger_create_fn

std::function<std::shared_ptr<Aws::Utils::Logging::CRTLogSystemInterface>()> Aws::LoggingOptions::crt_logger_create_fn

Defaults to empty, if logLevel has been set and this field is empty, then the default CRT log system will be used. The default CRT log system will redirect all logs from common runtime libraries (CRT) to C++ SDK with the same log level and formatting.

Definition at line 51 of file Aws.h.

◆ defaultLogPrefix

const char* Aws::LoggingOptions::defaultLogPrefix

Defaults to aws_sdk_. This will only be used if the default logger is used.

Definition at line 39 of file Aws.h.

◆ logger_create_fn

std::function<std::shared_ptr<Aws::Utils::Logging::LogSystemInterface>()> Aws::LoggingOptions::logger_create_fn

Defaults to empty, if logLevel has been set and this field is empty, then the default log system will be used. otherwise, we will call this closure to create a logger

Definition at line 45 of file Aws.h.

◆ logLevel

Aws::Utils::Logging::LogLevel Aws::LoggingOptions::logLevel

Defaults to Off, if this is set to something else, then logging will be turned on and logLevel will be passed to the logger

Definition at line 34 of file Aws.h.


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