AWS SDK for C++  0.12.9
AWS SDK for C++
Classes | Functions | Variables
Aws::Utils::Logging Namespace Reference

Classes

class  ConsoleLogSystem
 
class  DefaultLogSystem
 
class  FormattedLogSystem
 
class  LogSystemInterface
 
class  NullLogSystem
 

Functions

AWS_CORE_API void InitializeAWSLogging (const std::shared_ptr< LogSystemInterface > &logSystem)
 
AWS_CORE_API void ShutdownAWSLogging (void)
 
AWS_CORE_API LogSystemInterfaceGetLogSystem ()
 
AWS_CORE_API void PushLogger (const std::shared_ptr< LogSystemInterface > &logSystem)
 
AWS_CORE_API void PopLogger ()
 
AWS_CORE_API Aws::String GetLogLevelName (LogLevel logLevel)
 

Variables

enum AWS_CORE_API LogLevel
 
enum AWS_CORE_API Fatal = 1
 
enum AWS_CORE_API Error = 2
 
enum AWS_CORE_API Warn = 3
 
enum AWS_CORE_API Info = 4
 
enum AWS_CORE_API Debug = 5
 
enum AWS_CORE_API Trace
 

Function Documentation

AWS_CORE_API Aws::String Aws::Utils::Logging::GetLogLevelName ( LogLevel  logLevel)
AWS_CORE_API LogSystemInterface* Aws::Utils::Logging::GetLogSystem ( )

Get currently configured log system instance.

AWS_CORE_API void Aws::Utils::Logging::InitializeAWSLogging ( const std::shared_ptr< LogSystemInterface > &  logSystem)

Call this at the beginning of your program, prior to any AWS calls.

AWS_CORE_API void Aws::Utils::Logging::PopLogger ( )

Pops the top logger off the logger stack and replaces the current logger with it. Disables logging if the top logger is actually a nullptr

AWS_CORE_API void Aws::Utils::Logging::PushLogger ( const std::shared_ptr< LogSystemInterface > &  logSystem)

Replaces the current logger with a new one, while pushing the old one onto a stack; primarily for testing

AWS_CORE_API void Aws::Utils::Logging::ShutdownAWSLogging ( void  )

Call this at the exit point of your program, after all calls have finished.

Variable Documentation

enum AWS_CORE_API Aws::Utils::Logging::Debug = 5
strong

Definition at line 39 of file LogLevel.h.

enum AWS_CORE_API Aws::Utils::Logging::Error = 2
strong

Definition at line 36 of file LogLevel.h.

enum AWS_CORE_API Aws::Utils::Logging::Fatal = 1
strong

Definition at line 35 of file LogLevel.h.

enum AWS_CORE_API Aws::Utils::Logging::Info = 4
strong

Definition at line 38 of file LogLevel.h.

enum AWS_CORE_API Aws::Utils::Logging::LogLevel
strong

LogLevel used to control verbosity of logging system.

Definition at line 32 of file LogLevel.h.

enum AWS_CORE_API Aws::Utils::Logging::Trace
strong
Initial value:
= 6
}

Definition at line 40 of file LogLevel.h.

enum AWS_CORE_API Aws::Utils::Logging::Warn = 3
strong

Definition at line 37 of file LogLevel.h.