# Function: writeLogToClient
▸ writeLogToClient(params
: WriteLogToClientParams): Promise‹WriteLogToClientRes›
写日志到客户端(仅支持有乐)
# 参数:
属性 | 类型 |
---|---|
params | WriteLogToClientParams |
WriteLogToClientParams
属性 | 类型 | 描述 |
---|---|---|
tag | string | 日志标签 |
text | string | 日志内容 |
type | LogType | 日志类型 |
complete? | Method | 接口调用结束的回调函数(调用成功、失败都会执行) |
fail? | Method | 接口调用失败的回调函数 |
success? | Method | 接口调用成功的回调函数 |
# 返回值:
Promise‹WriteLogToClientRes›