ContainerLogsParameters

data class ContainerLogsParameters(val follow: Boolean = false, val stdout: Boolean = true, val stderr: Boolean = true, val timestamps: Boolean = false, val tail: String? = null, val since: Long? = null, val until: Long? = null)

Selects output and history for dev.limebeck.libs.docker.client.api.Containers.getLogs. The default reads available stdout/stderr history and finishes; set follow for live output.

See also

Constructors

Link copied to clipboard
constructor(follow: Boolean = false, stdout: Boolean = true, stderr: Boolean = true, timestamps: Boolean = false, tail: String? = null, since: Long? = null, until: Long? = null)

Properties

Link copied to clipboard

Continue waiting for new output after historical logs have been read.

Link copied to clipboard
val since: Long?

Earliest log timestamp, in Unix seconds (not milliseconds); null imposes no lower bound.

Link copied to clipboard

Include standard error. TTY output merges stdout/stderr at the daemon.

Link copied to clipboard

Include standard output.

Link copied to clipboard
val tail: String?

Number of lines from the end as a decimal string, or "all"; null omits the parameter and uses Docker's default of all available lines.

Link copied to clipboard

Ask Docker to prefix each log entry with a timestamp.

Link copied to clipboard
val until: Long?

Latest log timestamp, in Unix seconds; null imposes no upper bound.