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

#include <aws_ros_logger.h>

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

Public Member Functions

 AWSROSLogger (Aws::Utils::Logging::LogLevel log_level=LogLevel::Trace)
 
 AWSROSLogger (AWSROSLogger const &)=delete
 
AWSROSLoggeroperator= (AWSROSLogger const &)=delete
 
 ~AWSROSLogger () override=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 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

Definition at line 27 of file aws_ros_logger.h.

Constructor & Destructor Documentation

Aws::Utils::Logging::AWSROSLogger::AWSROSLogger ( Aws::Utils::Logging::LogLevel  log_level = LogLevel::Trace)
explicit
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 24 of file aws_ros_logger.cpp.

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

Member Function Documentation

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

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

Definition at line 36 of file aws_ros_logger.cpp.

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

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

Definition at line 46 of file aws_ros_logger.cpp.

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

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

Definition at line 51 of file aws_ros_logger.cpp.

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

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

Definition at line 31 of file aws_ros_logger.cpp.

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

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

Definition at line 26 of file aws_ros_logger.cpp.

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

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

Definition at line 41 of file aws_ros_logger.cpp.

AWSROSLogger& Aws::Utils::Logging::AWSROSLogger::operator= ( AWSROSLogger const &  )
delete

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


aws_ros1_common
Author(s): AWS RoboMaker
autogenerated on Thu Mar 4 2021 03:25:44