Documentation ¶
Index ¶
- func Configure(w io.Writer, jsonLogging bool, logLevel, version string)
- func ErrorStackMarshaler(err error) interface{}
- type InitHook
- type SentryFlushHook
- type SentryInitHook
- type ZeroLogLogrAdapter
- func (a *ZeroLogLogrAdapter) Enabled(level int) bool
- func (a *ZeroLogLogrAdapter) Error(err error, msg string, keysAndValues ...interface{})
- func (a *ZeroLogLogrAdapter) Info(_ int, msg string, keysAndValues ...interface{})
- func (a *ZeroLogLogrAdapter) Init(_ logr.RuntimeInfo)
- func (a *ZeroLogLogrAdapter) WithName(_ string) logr.LogSink
- func (a *ZeroLogLogrAdapter) WithValues(keysAndValues ...interface{}) logr.LogSink
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorStackMarshaler ¶
func ErrorStackMarshaler(err error) interface{}
Types ¶
type InitHook ¶
type InitHook struct { DisableJSONLogging bool `desc:"Disable JSON logging."` LogLevel string `required:"true" desc:"Log level, must be one of: trace,debug,info,warn,error,fatal,panic"` }
InitHook is the command executor for the "devbot" command.
type SentryFlushHook ¶
type SentryInitHook ¶
type SentryInitHook struct {
DSN string `desc:"Sentry DSN"`
}
type ZeroLogLogrAdapter ¶
type ZeroLogLogrAdapter struct {
// contains filtered or unexported fields
}
func (*ZeroLogLogrAdapter) Enabled ¶
func (a *ZeroLogLogrAdapter) Enabled(level int) bool
func (*ZeroLogLogrAdapter) Error ¶
func (a *ZeroLogLogrAdapter) Error(err error, msg string, keysAndValues ...interface{})
func (*ZeroLogLogrAdapter) Info ¶
func (a *ZeroLogLogrAdapter) Info(_ int, msg string, keysAndValues ...interface{})
func (*ZeroLogLogrAdapter) Init ¶
func (a *ZeroLogLogrAdapter) Init(_ logr.RuntimeInfo)
func (*ZeroLogLogrAdapter) WithValues ¶
func (a *ZeroLogLogrAdapter) WithValues(keysAndValues ...interface{}) logr.LogSink
Click to show internal directories.
Click to hide internal directories.