AWS SDK for C++

AWS SDK for C++ Version 1.11.545

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Aws::LoggingOptions Struct Reference

#include <Aws.h>

Public Member Functions

 LoggingOptions ()=default
 

Public Attributes

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

Detailed Description

SDK wide options for logging

Definition at line 25 of file Aws.h.

Constructor & Destructor Documentation

◆ LoggingOptions()

Aws::LoggingOptions::LoggingOptions ( )
default

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

◆ defaultLogPrefix

const char* Aws::LoggingOptions::defaultLogPrefix = DEFAULT_LOG_PREFIX

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

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

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


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