crash

package
v0.0.0-...-e0434a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallAPIMachineryLoggers

func InstallAPIMachineryLoggers()

this should be the first thing a cmd that uses apimachinery code invokes. It's a brittle hack to overwrite apimachinery's built in log handlers to use something more that uses json logging in more situations. This is an unfortunate trade off

func LogErrorAsJSON

func LogErrorAsJSON(err error)

func LogPanicAsJSON

func LogPanicAsJSON()

func RecoverLogger

func RecoverLogger() func(next http.Handler) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL