public class PodLogs extends Object implements ServiceLogs
ServiceLogs for the Cloud/k8s environment, i.e. it deals with services running
on Pods.
Watches Pods on multiple namespaces and streams logs for all Pods containers to the selected
PrintStream.
Each log is prefixed with namespace.pod-name.container-name and colored differently.| Modifier and Type | Class and Description |
|---|---|
static class |
PodLogs.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
start()
Start watching Pods logs in all the specified namespaces
|
void |
stop()
Stop watching Pods logs in all specified namespaces
|
public void start()
start in interface ServiceLogspublic void stop()
stop in interface ServiceLogsCopyright © 2023. All rights reserved.