AWS SDK for C++  0.14.3
AWS SDK for C++
Public Member Functions | Public Attributes | List of all members
Aws::LoggingOptions Struct Reference

#include <Aws.h>

Public Member Functions

 LoggingOptions ()
 

Public Attributes

Aws::Utils::Logging::LogLevel logLevel
 
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 31 of file Aws.h.

Constructor & Destructor Documentation

Aws::LoggingOptions::LoggingOptions ( )
inline

Definition at line 33 of file Aws.h.

Member Data Documentation

const char* Aws::LoggingOptions::defaultLogPrefix

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

Definition at line 44 of file Aws.h.

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 interface will be used. otherwise, we will call this closure to create a logger

Definition at line 50 of file Aws.h.

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 39 of file Aws.h.


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