[net](../../index.md) / [com.drake.net.request](../index.md) / [BaseRequest](index.md) / [setLogRecord](./set-log-record.md) # setLogRecord `fun setLogRecord(enabled: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) 是否启用日志记录器