Skip to main content

Interface: LogOptions

Properties

follow?

optional follow: boolean;

Whether to follow the log stream

Defined in

src/lib/k8s/pod.ts:58


onReconnectStop()?

optional onReconnectStop: () => void;

Callback to be called when the reconnection attempts stop

Returns

void

Defined in

src/lib/k8s/pod.ts:60


showPrevious?

optional showPrevious: boolean;

Whether to show the logs from previous runs of the container (only for restarted containers)

Defined in

src/lib/k8s/pod.ts:54


showTimestamps?

optional showTimestamps: boolean;

Whether to show the timestamps in the logs

Defined in

src/lib/k8s/pod.ts:56


tailLines?

optional tailLines: number;

The number of lines to display from the end side of the log

Defined in

src/lib/k8s/pod.ts:52