Class LogHandler

Inheritance Relationships

Derived Type

Class Documentation

class LogHandler

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

Subclassed by urcl::DefaultLogHandler

Public Functions

virtual ~LogHandler() = default
virtual void log(const char *file, int line, LogLevel loglevel, const char *log) = 0

Function to log a message.

Parameters:
  • file – The log message comes from this file

  • line – The log message comes from this line

  • loglevel – Indicates the severity of the log message

  • log – Log message