Interface: LogOptions
Defined in: lib/k8s/pod.ts:72
Properties
follow?
optional follow?: boolean;
Defined in: lib/k8s/pod.ts:80
Whether to follow the log stream
formatJsonValues?
optional formatJsonValues?: boolean;
Defined in: lib/k8s/pod.ts:84
Whether to format JSON string values by unescaping string literals
onReconnectStop?
optional onReconnectStop?: () => void;
Defined in: lib/k8s/pod.ts:86
Callback to be called when the reconnection attempts stop
Returns
void
prettifyLogs?
optional prettifyLogs?: boolean;
Defined in: lib/k8s/pod.ts:82
Whether to prettify JSON logs with formatted indentation
showPrevious?
optional showPrevious?: boolean;
Defined in: lib/k8s/pod.ts:76
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:78
Whether to show the timestamps in the logs
tailLines?
optional tailLines?: number;
Defined in: lib/k8s/pod.ts:74
The number of lines to display from the end side of the log