public interface BuildLog
Builder output logging.toSystemOut()| Modifier and Type | Method and Description | 
|---|---|
void | 
executedLifecycle(BuildRequest request)
Log that the lifecycle has executed. 
 | 
void | 
executingLifecycle(BuildRequest request,
                  org.springframework.boot.buildpack.platform.build.LifecycleVersion version,
                  VolumeName buildCacheVolume)
Log that the lifecycle is executing. 
 | 
void | 
pulledImage(Image image,
           org.springframework.boot.buildpack.platform.build.ImageType imageType)
Log that an image has been pulled. 
 | 
Consumer<TotalProgressEvent> | 
pullingImage(ImageReference imageReference,
            org.springframework.boot.buildpack.platform.build.ImageType imageType)
Log that an image is being pulled. 
 | 
void | 
pushedImage(ImageReference imageReference)
Log that an image has been pushed. 
 | 
Consumer<TotalProgressEvent> | 
pushingImage(ImageReference imageReference)
Log that an image is being pushed. 
 | 
Consumer<LogUpdateEvent> | 
runningPhase(BuildRequest request,
            String name)
Log that a specific phase is running. 
 | 
void | 
skippingPhase(String name,
             String reason)
Log that a specific phase is being skipped. 
 | 
void | 
start(BuildRequest request)
Log that a build is starting. 
 | 
void | 
taggedImage(ImageReference tag)
Log that a tag has been created. 
 | 
static BuildLog | 
to(PrintStream out)
Factory method that returns a  
BuildLog the outputs to a given
 PrintStream. | 
static BuildLog | 
toSystemOut()
Factory method that returns a  
BuildLog the outputs to System.out. | 
void start(BuildRequest request)
request - the build requestConsumer<TotalProgressEvent> pullingImage(ImageReference imageReference, org.springframework.boot.buildpack.platform.build.ImageType imageType)
imageReference - the image referenceimageType - the image typevoid pulledImage(Image image, org.springframework.boot.buildpack.platform.build.ImageType imageType)
image - the image that was pulledimageType - the image type that was pulledConsumer<TotalProgressEvent> pushingImage(ImageReference imageReference)
imageReference - the image referencevoid pushedImage(ImageReference imageReference)
imageReference - the image referencevoid executingLifecycle(BuildRequest request, org.springframework.boot.buildpack.platform.build.LifecycleVersion version, VolumeName buildCacheVolume)
request - the build requestversion - the lifecycle versionbuildCacheVolume - the name of the build cache volume in useConsumer<LogUpdateEvent> runningPhase(BuildRequest request, String name)
request - the build requestname - the name of the phasevoid skippingPhase(String name, String reason)
name - the name of the phasereason - the reason the phase is skippedvoid executedLifecycle(BuildRequest request)
request - the build requestvoid taggedImage(ImageReference tag)
tag - the tag referencestatic BuildLog toSystemOut()
BuildLog the outputs to System.out.static BuildLog to(PrintStream out)
BuildLog the outputs to a given
 PrintStream.out - the print stream used to output the log