AWS SDK for C++
0.14.3
AWS SDK for C++
|
Classes | |
class | ConsoleLogSystem |
class | DefaultLogSystem |
class | FormattedLogSystem |
class | LogSystemInterface |
class | NullLogSystem |
Enumerations | |
enum | LogLevel : int { LogLevel::Off = 0, LogLevel::Fatal = 1, LogLevel::Error = 2, LogLevel::Warn = 3, LogLevel::Info = 4, LogLevel::Debug = 5, LogLevel::Trace = 6 } |
Functions | |
AWS_CORE_API void | InitializeAWSLogging (const std::shared_ptr< LogSystemInterface > &logSystem) |
AWS_CORE_API void | ShutdownAWSLogging (void) |
AWS_CORE_API LogSystemInterface * | GetLogSystem () |
AWS_CORE_API void | PushLogger (const std::shared_ptr< LogSystemInterface > &logSystem) |
AWS_CORE_API void | PopLogger () |
AWS_CORE_API Aws::String | GetLogLevelName (LogLevel logLevel) |
|
strong |
LogLevel used to control verbosity of logging system.
Enumerator | |
---|---|
Off | |
Fatal | |
Error | |
Warn | |
Info | |
Debug | |
Trace |
Definition at line 32 of file LogLevel.h.
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 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 1-deep 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.