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 TypeMethodDescriptionvoid
Logs a given message.static DockerLog
to
(PrintStream out) Factory method that returns aDockerLog
that outputs to a givenPrintStream
.static DockerLog
Factory method that returns aDockerLog
that outputs toSystem.out
.
-
Method Details
-
log
-
toSystemOut
Factory method that returns aDockerLog
that outputs toSystem.out
.- Returns:
DockerLog
instance that logs to system out
-
to
Factory method that returns aDockerLog
that outputs to a givenPrintStream
.- Parameters:
out
- the print stream used to output the log- Returns:
DockerLog
instance that logs to the given print stream
-