Interface DockerLog
public interface DockerLog
Callback interface used to provide
DockerApi output logging.- Since:
- 3.5.0
- Author:
- Dmytro Nosan
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidLogs a given message.static DockerLogto(PrintStream out) Factory method that returns aDockerLogthat outputs to a givenPrintStream.static DockerLogFactory method that returns aDockerLogthat outputs toSystem.out.
-
Method Details
-
log
-
toSystemOut
Factory method that returns aDockerLogthat outputs toSystem.out.- Returns:
DockerLoginstance that logs to system out
-
to
Factory method that returns aDockerLogthat outputs to a givenPrintStream.- Parameters:
out- the print stream used to output the log- Returns:
DockerLoginstance that logs to the given print stream
-