For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

LoggingManager

A LoggingManager provides access to and control over the Gradle logging system. Using this interface, you can control standard output and error capture and receive logging events.

Since

0.9

Functions

Link copied to clipboard
Adds a listener which receives output written to standard error by the Gradle logging system.
Link copied to clipboard
Adds a listener which receives output written to standard output by the Gradle logging system.
Link copied to clipboard
Requests that output written to System.err be routed to Gradle's logging system.
Link copied to clipboard
Requests that output written to System.out be routed to Gradle's logging system.
Link copied to clipboard
abstract fun getLevel(): LogLevel
Returns the current logging level.
Link copied to clipboard
Returns the log level that output written to System.err will be mapped to.
Link copied to clipboard
Returns the log level that output written to System.out will be mapped to.
Link copied to clipboard
Removes a listener from standard error.
Link copied to clipboard
Removes a listener from standard output.