MRM LoggingDelegate Class
The LoggingDelegate
class provides access to log events generated by the Multi-Room Music (MRM) SDK.
LoggingDelegate Class Declaration
This is a sample declaration of the LoggingDelegate
class:
class LoggingDelegate {
public:
virtual void log(LogLevel level, const char *tag, const char *text) = 0;
};
log()
Implement this function to log messages via whatever mechanism is suitable for the AVS client.
virtual void log(LogLevel level, const char *tag, const char *text) = 0;
Parameter | Description |
---|---|
LogLevel level | Logging level. |
const char *tag | A WHA susbsystem tag. E.g. AudioRenderer, TimeSyncMaster. |
const char *text | Message text to be logged. |
LogLevel Enum
enum LogLevel {
LOG_VERBOSE = 1,
LOG_DEBUG,
LOG_INFO,
LOG_WARN,
LOG_ERROR,
LOG_FATAL
};
Last updated: Nov 27, 2023