net / com.drake.net.log / LogRecorder / recordException
@JvmStatic fun recordException(id:
String
, requestMillis:
Long
, code:
Int
?, response:
String
?, errorMessage:
String
?):
Unit
发送请求异常到记录器
id
- 请求的唯一标识符
requestMillis
- 请求时间毫秒值
errorMessage
- 错误信息, 如果存在\n换行符, 仅接受最后一行