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 |
pulledBuilder(BuildRequest request,
Image image)
Log that the builder image has been pulled.
|
void |
pulledRunImage(BuildRequest request,
Image image)
Log that a run image has been pulled.
|
java.util.function.Consumer<TotalProgressEvent> |
pullingBuilder(BuildRequest request,
ImageReference imageReference)
Log that the builder image is being pulled.
|
java.util.function.Consumer<TotalProgressEvent> |
pullingRunImage(BuildRequest request,
ImageReference imageReference)
Log that a run image is being pulled.
|
java.util.function.Consumer<LogUpdateEvent> |
runningPhase(BuildRequest request,
java.lang.String name)
Log that a specific phase is running.
|
void |
skippingPhase(java.lang.String name,
java.lang.String reason)
Log that a specific phase is being skipped.
|
void |
start(BuildRequest request)
Log that a build is starting.
|
static BuildLog |
to(java.io.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 requestjava.util.function.Consumer<TotalProgressEvent> pullingBuilder(BuildRequest request, ImageReference imageReference)
request - the build requestimageReference - the builder image referencevoid pulledBuilder(BuildRequest request, Image image)
request - the build requestimage - the builder image that was pulledjava.util.function.Consumer<TotalProgressEvent> pullingRunImage(BuildRequest request, ImageReference imageReference)
request - the build requestimageReference - the run image referencevoid pulledRunImage(BuildRequest request, Image image)
request - the build requestimage - the run image that was pulledvoid 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 usejava.util.function.Consumer<LogUpdateEvent> runningPhase(BuildRequest request, java.lang.String name)
request - the build requestname - the name of the phasevoid skippingPhase(java.lang.String name,
java.lang.String reason)
name - the name of the phasereason - the reason the phase is skippedvoid executedLifecycle(BuildRequest request)
request - the build requeststatic BuildLog toSystemOut()
BuildLog the outputs to System.out.