Rialto  0.1
Rialto media pipeline API
Public Types | Public Member Functions | List of all members
firebolt::rialto::IClientLogHandler Class Referenceabstract

IClientLogHandler allows the user to define their own log handler for any messages generated by the rialto client library. More...

#include <IClientLogHandler.h>

Public Types

enum  Level {
  Fatal, Error, Warning, Milestone,
  Info, Debug, External
}
 All possible log levels that could be used in the log callback.
 

Public Member Functions

 IClientLogHandler (const IClientLogHandler &)=delete
 
IClientLogHandleroperator= (const IClientLogHandler &)=delete
 
 IClientLogHandler (IClientLogHandler &&)=delete
 
IClientLogHandleroperator= (IClientLogHandler &&)=delete
 
virtual void log (Level level, const std::string &file, int line, const std::string &function, const std::string &message)=0
 A callback method for every log item generated by the rialto client library. More...
 

Detailed Description

IClientLogHandler allows the user to define their own log handler for any messages generated by the rialto client library.

Member Function Documentation

◆ log()

virtual void firebolt::rialto::IClientLogHandler::log ( Level  level,
const std::string &  file,
int  line,
const std::string &  function,
const std::string &  message 
)
pure virtual

A callback method for every log item generated by the rialto client library.

Parameters
[in]level: The log level
[in]file: The source code file where the log is defined
[in]line: The line number within the file where the log is defined
[in]function: The source code function within which the log is defined
[in]message: The message of the log
Return values
none

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