AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Aws::Utils::Logging::CRTLogSystemInterface Class Referenceabstract

#include <CRTLogSystem.h>

Inheritance diagram for Aws::Utils::Logging::CRTLogSystemInterface:
[legend]

Public Member Functions

virtual ~CRTLogSystemInterface ()=default
 
virtual LogLevel GetLogLevel () const =0
 
virtual void SetLogLevel (LogLevel logLevel)=0
 
virtual void Log (LogLevel logLevel, const char *subjectName, const char *formatStr, va_list args)=0
 
virtual void CleanUp ()
 

Detailed Description

Interface for CRT (common runtime libraries) logging implementations. A wrapper on the top of aws_logger, the logging interface used by common runtime libraries.

Definition at line 26 of file CRTLogSystem.h.

Constructor & Destructor Documentation

◆ ~CRTLogSystemInterface()

virtual Aws::Utils::Logging::CRTLogSystemInterface::~CRTLogSystemInterface ( )
virtualdefault

Member Function Documentation

◆ CleanUp()

virtual void Aws::Utils::Logging::CRTLogSystemInterface::CleanUp ( )
inlinevirtual

Wrapper on top of CRT's aws_logger::clean_up method.

Definition at line 49 of file CRTLogSystem.h.

◆ GetLogLevel()

virtual LogLevel Aws::Utils::Logging::CRTLogSystemInterface::GetLogLevel ( ) const
pure virtual

Gets the currently configured log level.

Implemented in Aws::Utils::Logging::DefaultCRTLogSystem.

◆ Log()

virtual void Aws::Utils::Logging::CRTLogSystemInterface::Log ( LogLevel  logLevel,
const char *  subjectName,
const char *  formatStr,
va_list  args 
)
pure virtual

Handle the logging information from common runtime libraries. Redirect them to C++ SDK logging system by default.

Implemented in Aws::Utils::Logging::DefaultCRTLogSystem.

◆ SetLogLevel()

virtual void Aws::Utils::Logging::CRTLogSystemInterface::SetLogLevel ( LogLevel  logLevel)
pure virtual

Set a new log level. This has the immediate effect of changing the log output to the new level.

Implemented in Aws::Utils::Logging::DefaultCRTLogSystem.


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