Agora Java API Reference for Android

Public Member Functions | List of all members
agora::commons::ILogWriter Class Referenceabstract

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

## 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