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