Class LogRecordingService

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.gradle.api.services.BuildService<LogRecordingService.Parameters>

    public abstract class LogRecordingService
    extends java.lang.Object
    implements org.gradle.api.services.BuildService<LogRecordingService.Parameters>, java.lang.AutoCloseable
    Service responsible for persisting build output to file.

    Due to the nature of Gradle not all output is recorded and the build result might not be saved at all.

    This approach the rich console output if the user calls Gradle from the command line (contrary to saving output using modified Gradle start scripts).

    Note: this class heavily relies on Gradle internals

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.gradle.api.services.BuildService

        getParameters
    • Constructor Detail

      • LogRecordingService

        public LogRecordingService()
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable