api / org.gradle.api.logging / LoggingManager / captureStandardError

captureStandardError

abstract fun captureStandardError(level: LogLevel): LoggingManager

Requests that output written to System.err be routed to Gradle's logging system. The default is that System.err is routed to LogLevel#ERROR.

Parameters

level - The log level to route System.err to.

Return
this