Skip to main content

Interface: LogOptions

Properties

follow?

optional follow: boolean;

Whether to follow the log stream

Defined in

src/lib/k8s/pod.ts:77


formatJsonValues?

optional formatJsonValues: boolean;

Whether to format JSON string values by unescaping string literals

Defined in

src/lib/k8s/pod.ts:81


onReconnectStop()?

optional onReconnectStop: () => void;

Callback to be called when the reconnection attempts stop

Returns

void

Defined in

src/lib/k8s/pod.ts:83


prettifyLogs?

optional prettifyLogs: boolean;

Whether to prettify JSON logs with formatted indentation

Defined in

src/lib/k8s/pod.ts:79


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


showTimestamps?

optional showTimestamps: boolean;

Whether to show the timestamps in the logs

Defined in

src/lib/k8s/pod.ts:75


tailLines?

optional tailLines: number;

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

Defined in

src/lib/k8s/pod.ts:71