![]() |
CoreSDK
v1.0.0.b1304
|
Interface for Red5Pro Core SDK internal logger access. More...
#include <r5logger.h>
Public Member Functions | |
virtual void | SetLogLevel (LogLevel level)=0 |
Set the log level of object Depends on implementation, but usually logger will skip all received messages that has lower log level that is set to the object. More... | |
virtual void | LogMessage (const std::chrono::system_clock::time_point &time, LogLevel level, const std::string msg) const =0 |
Put new message to output log. More... | |
Interface for Red5Pro Core SDK internal logger access.
|
pure virtual |
Put new message to output log.
time | timestamp for message |
level | LogLevel of the message |
msg | message string |
Implemented in r5::common::FileLogger, and r5::common::StdoutLogger.
|
pure virtual |
Set the log level of object Depends on implementation, but usually logger will skip all received messages that has lower log level that is set to the object.
level | new value of log level |
Implemented in r5::common::FileLogger, and r5::common::StdoutLogger.