api / org.gradle.api.logging / LoggingManager / captureStandardOutput

captureStandardOutput

abstract fun captureStandardOutput(level: LogLevel): LoggingManager

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

Parameters

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

Return
this