Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | List of all members
agora::commons::ILogWriter Class Referenceabstract

`#include <IAgoraLog.h>`

## Public Member Functions
virtual int32_t | writeLog (LOG_LEVEL level, const char *message, uint16_t length)=0
virtual | ~ILogWriter ()

## Constructor & Destructor Documentation

## ◆ ~ILogWriter()

virtual agora::commons::ILogWriter::~ILogWriter | ( |  | ) |
| inline virtual

## Member Function Documentation

## ◆ writeLog()

virtual int32_t agora::commons::ILogWriter::writeLog | ( | LOG_LEVEL | level,
|  | const char * | message,
|  | uint16_t | length )
| pure virtual

user defined log Write function

Parameters

  level | log level
  message | log message content
  length | log message length

Returns
  - 0: success
  - <0: failure