Class LoggingSinkInterface

Inheritance Relationships

Derived Type

Class Documentation

class LoggingSinkInterface

Interface for a logging sink. Implement this interface to create a custom logger.

Subclassed by franka::CoutLoggingSink

Public Functions

virtual ~LoggingSinkInterface() = default
virtual auto getName() const -> std::string = 0
virtual auto logInfo(const std::string &message) -> void = 0

Logs an info message.

Parameters:

message – The message to log.

virtual auto logWarn(const std::string &message) -> void = 0

Logs a warning message.

Parameters:

message – The message to log.

virtual auto logError(const std::string &message) -> void = 0

Logs an error message.

Parameters:

message – The message to log.