Make a sink that populates the default kube termination log on calls to .Fatal().
()
| 16 | |
| 17 | // Make a sink that populates the default kube termination log on calls to .Fatal(). |
| 18 | func Make() slog.Sink { |
| 19 | return slogger{log: defaultKubeTerminationLog} |
| 20 | } |
| 21 | |
| 22 | type slogger struct { |
| 23 | log string |