Skip to main content

Interface: LogOptions

Properties

follow?

optional follow: boolean;

Whether to follow the log stream

Defined in

src/lib/k8s/pod.ts:74


onReconnectStop()?

optional onReconnectStop: () => void;

Callback to be called when the reconnection attempts stop

Returns

void

Defined in

src/lib/k8s/pod.ts:76


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:70


showTimestamps?

optional showTimestamps: boolean;

Whether to show the timestamps in the logs

Defined in

src/lib/k8s/pod.ts:72


tailLines?

optional tailLines: number;

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

Defined in

src/lib/k8s/pod.ts:68