Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
Aws::Utils::Logging::AWSLogSystem Class Referenceabstract

#include <aws_log_system.h>

Inheritance diagram for Aws::Utils::Logging::AWSLogSystem:
Inheritance graph
[legend]

Public Member Functions

 AWSLogSystem (Aws::Utils::Logging::LogLevel log_level)
 
 AWSLogSystem (AWSLogSystem const &)=delete
 
Aws::Utils::Logging::LogLevel GetLogLevel () const override
 
void Log (Aws::Utils::Logging::LogLevel log_level, const char *tag, const char *format,...) override
 
void LogStream (Aws::Utils::Logging::LogLevel log_level, const char *tag, const Aws::OStringStream &message_stream) override
 
AWSLogSystemoperator= (AWSLogSystem const &)=delete
 
void SetLogLevel (Aws::Utils::Logging::LogLevel log_level)
 
 ~AWSLogSystem () override=default
 

Protected Member Functions

virtual void LogDebug (const char *tag, const std::string &message)=0
 
virtual void LogError (const char *tag, const std::string &message)=0
 
virtual void LogFatal (const char *tag, const std::string &message)=0
 
virtual void LogInfo (const char *tag, const std::string &message)=0
 
virtual void LogTrace (const char *tag, const std::string &message)=0
 
virtual void LogWarn (const char *tag, const std::string &message)=0
 

Private Member Functions

void LogMessage (Aws::Utils::Logging::LogLevel log_level, const char *tag, const std::string &message)
 

Private Attributes

std::atomic< Aws::Utils::Logging::LogLevel > configured_log_level_
 

Detailed Description

Definition at line 30 of file aws_log_system.h.

Constructor & Destructor Documentation

Aws::Utils::Logging::AWSLogSystem::AWSLogSystem ( Aws::Utils::Logging::LogLevel  log_level)
explicit

Definition at line 29 of file aws_log_system.cpp.

Aws::Utils::Logging::AWSLogSystem::AWSLogSystem ( AWSLogSystem const &  )
delete
Aws::Utils::Logging::AWSLogSystem::~AWSLogSystem ( )
overridedefault

Member Function Documentation

Aws::Utils::Logging::LogLevel Aws::Utils::Logging::AWSLogSystem::GetLogLevel ( ) const
override

Definition at line 34 of file aws_log_system.cpp.

void Aws::Utils::Logging::AWSLogSystem::Log ( Aws::Utils::Logging::LogLevel  log_level,
const char *  tag,
const char *  format,
  ... 
)
override

Definition at line 45 of file aws_log_system.cpp.

virtual void Aws::Utils::Logging::AWSLogSystem::LogDebug ( const char *  tag,
const std::string &  message 
)
protectedpure virtual

Implemented in ClassUnderTest.

virtual void Aws::Utils::Logging::AWSLogSystem::LogError ( const char *  tag,
const std::string &  message 
)
protectedpure virtual

Implemented in ClassUnderTest.

virtual void Aws::Utils::Logging::AWSLogSystem::LogFatal ( const char *  tag,
const std::string &  message 
)
protectedpure virtual

Implemented in ClassUnderTest.

virtual void Aws::Utils::Logging::AWSLogSystem::LogInfo ( const char *  tag,
const std::string &  message 
)
protectedpure virtual

Implemented in ClassUnderTest.

void Aws::Utils::Logging::AWSLogSystem::LogMessage ( Aws::Utils::Logging::LogLevel  log_level,
const char *  tag,
const std::string &  message 
)
private

Definition at line 78 of file aws_log_system.cpp.

void Aws::Utils::Logging::AWSLogSystem::LogStream ( Aws::Utils::Logging::LogLevel  log_level,
const char *  tag,
const Aws::OStringStream &  message_stream 
)
override

Definition at line 68 of file aws_log_system.cpp.

virtual void Aws::Utils::Logging::AWSLogSystem::LogTrace ( const char *  tag,
const std::string &  message 
)
protectedpure virtual

Implemented in ClassUnderTest.

virtual void Aws::Utils::Logging::AWSLogSystem::LogWarn ( const char *  tag,
const std::string &  message 
)
protectedpure virtual

Implemented in ClassUnderTest.

AWSLogSystem& Aws::Utils::Logging::AWSLogSystem::operator= ( AWSLogSystem const &  )
delete
void Aws::Utils::Logging::AWSLogSystem::SetLogLevel ( Aws::Utils::Logging::LogLevel  log_level)

Definition at line 39 of file aws_log_system.cpp.

Member Data Documentation

std::atomic<Aws::Utils::Logging::LogLevel> Aws::Utils::Logging::AWSLogSystem::configured_log_level_
private

Definition at line 61 of file aws_log_system.h.


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


aws_common
Author(s): AWS RoboMaker
autogenerated on Sat Mar 6 2021 03:11:38