AWS SDK for C++  1.8.7
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 22 of file Aws.h.

Constructor & Destructor Documentation

◆ LoggingOptions()

Aws::LoggingOptions::LoggingOptions ( )

Definition at line 24 of file Aws.h.

Member Data Documentation

◆ defaultLogPrefix

const char* Aws::LoggingOptions::defaultLogPrefix

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

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

Definition at line 41 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 30 of file Aws.h.

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