Public Member Functions | Protected Member Functions | List of all members
Aws::Utils::Logging::TestLogSystem Class Reference

#include <test_logger.h>

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

Public Member Functions

 TestLogSystem (Aws::Utils::Logging::LogLevel log_level=LogLevel::Trace)
 
virtual ~TestLogSystem ()=default
 
- Public Member Functions inherited from Aws::Utils::Logging::AWSLogSystem
 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

void LogData (const char *log_level, const char *tag, const std::string &message)
 
void LogDebug (const char *tag, const std::string &message) override
 
void LogError (const char *tag, const std::string &message) override
 
void LogFatal (const char *tag, const std::string &message) override
 
void LogInfo (const char *tag, const std::string &message) override
 
void LogTrace (const char *tag, const std::string &message) override
 
void LogWarn (const char *tag, const std::string &message) override
 

Detailed Description

Test log system.

Definition at line 38 of file test_logger.h.

Constructor & Destructor Documentation

Aws::Utils::Logging::TestLogSystem::TestLogSystem ( Aws::Utils::Logging::LogLevel  log_level = LogLevel::Trace)
inlineexplicit
Parameters
log_levelDefaults to Trace. This log level is an additional layer on top of ROS' log filtering. Typically, you would instantiate this with the lowest (most permissive) log level (i.e. Trace), and control the log level via ROS.

Definition at line 46 of file test_logger.h.

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

Member Function Documentation

void Aws::Utils::Logging::TestLogSystem::LogData ( const char *  log_level,
const char *  tag,
const std::string &  message 
)
inlineprotected

Definition at line 52 of file test_logger.h.

void Aws::Utils::Logging::TestLogSystem::LogDebug ( const char *  tag,
const std::string &  message 
)
inlineoverrideprotectedvirtual

Implements Aws::Utils::Logging::AWSLogSystem.

Definition at line 64 of file test_logger.h.

void Aws::Utils::Logging::TestLogSystem::LogError ( const char *  tag,
const std::string &  message 
)
inlineoverrideprotectedvirtual

Implements Aws::Utils::Logging::AWSLogSystem.

Definition at line 72 of file test_logger.h.

void Aws::Utils::Logging::TestLogSystem::LogFatal ( const char *  tag,
const std::string &  message 
)
inlineoverrideprotectedvirtual

Implements Aws::Utils::Logging::AWSLogSystem.

Definition at line 76 of file test_logger.h.

void Aws::Utils::Logging::TestLogSystem::LogInfo ( const char *  tag,
const std::string &  message 
)
inlineoverrideprotectedvirtual

Implements Aws::Utils::Logging::AWSLogSystem.

Definition at line 60 of file test_logger.h.

void Aws::Utils::Logging::TestLogSystem::LogTrace ( const char *  tag,
const std::string &  message 
)
inlineoverrideprotectedvirtual

Implements Aws::Utils::Logging::AWSLogSystem.

Definition at line 56 of file test_logger.h.

void Aws::Utils::Logging::TestLogSystem::LogWarn ( const char *  tag,
const std::string &  message 
)
inlineoverrideprotectedvirtual

Implements Aws::Utils::Logging::AWSLogSystem.

Definition at line 68 of file test_logger.h.


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


lex_common
Author(s): AWS RoboMaker
autogenerated on Sat Mar 6 2021 03:43:24