Public Member Functions | List of all members
urcl::LogHandler Class Referenceabstract

Inherit from this class to change the behavior when logging messages. More...

#include <log.h>

Inheritance diagram for urcl::LogHandler:
Inheritance graph
[legend]

Public Member Functions

virtual void log (const char *file, int line, LogLevel loglevel, const char *log)=0
 Function to log a message. More...
 
virtual ~LogHandler ()=default
 

Detailed Description

Inherit from this class to change the behavior when logging messages.

Definition at line 60 of file log.h.

Constructor & Destructor Documentation

virtual urcl::LogHandler::~LogHandler ( )
virtualdefault

Member Function Documentation

virtual void urcl::LogHandler::log ( const char *  file,
int  line,
LogLevel  loglevel,
const char *  log 
)
pure virtual

Function to log a message.

Parameters
fileThe log message comes from this file
lineThe log message comes from this line
loglevelIndicates the severity of the log message
logLog message

Implemented in urcl::DefaultLogHandler.


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


ur_client_library
Author(s): Thomas Timm Andersen, Simon Rasmussen, Felix Exner, Lea Steffen, Tristan Schnell
autogenerated on Sun May 9 2021 02:16:26