Skip to main content

Interface: LogOptions

Defined in: lib/k8s/pod.ts:76

Properties​

follow?​

optional follow?: boolean;

Defined in: lib/k8s/pod.ts:84

Whether to follow the log stream


formatJsonValues?​

optional formatJsonValues?: boolean;

Defined in: lib/k8s/pod.ts:88

Whether to format JSON string values by unescaping string literals


onReconnectStop?​

optional onReconnectStop?: () => void;

Defined in: lib/k8s/pod.ts:90

Callback to be called when the reconnection attempts stop

Returns​

void


prettifyLogs?​

optional prettifyLogs?: boolean;

Defined in: lib/k8s/pod.ts:86

Whether to prettify JSON logs with formatted indentation


showPrevious?​

optional showPrevious?: boolean;

Defined in: lib/k8s/pod.ts:80

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


showTimestamps?​

optional showTimestamps?: boolean;

Defined in: lib/k8s/pod.ts:82

Whether to show the timestamps in the logs


tailLines?​

optional tailLines?: number;

Defined in: lib/k8s/pod.ts:78

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