EduArt Sensor Ring Library 3.0.1
Loading...
Searching...
No Matches
LoggerClient.hpp File Reference

LoggerClient that can be registered with the Logger to receive log messages. More...

#include <ostream>
#include <string>
#include "sensorring/platform/SensorringExport.hpp"
Include dependency graph for LoggerClient.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  eduart::logger::LoggerClient
 Observer interface of the Logger class. Defines the callback method that is triggered by the Logger. More...

Functions

SENSORRING_API std::string eduart::logger::toString (LogVerbosity verbosity) noexcept
 Function to convert the LogVerbosity enum class members to string.
SENSORRING_API std::ostream & eduart::logger::operator<< (std::ostream &os, LogVerbosity verbosity) noexcept
 Output stream operator for the LogVerbosity enum class members.

Variables

 Debug
 Info
 Warning
 Error

Detailed Description

LoggerClient that can be registered with the Logger to receive log messages.

Author
EduArt Robotik GmbH
Date
2024-11-25

Function Documentation

◆ operator<<()

SENSORRING_API std::ostream & eduart::logger::operator<< ( std::ostream & os,
LogVerbosity verbosity )
noexcept

Output stream operator for the LogVerbosity enum class members.

Parameters
[in]verbosityto be printed as stream
Returns
Stream of the states name written out

◆ toString()

SENSORRING_API std::string eduart::logger::toString ( LogVerbosity verbosity)
noexcept

Function to convert the LogVerbosity enum class members to string.

Parameters
[in]verbosityto be converted to a string
Returns
Name of the state written out as string