Documentation ¶
Index ¶
- type LoggingHook
- type OTelHook
- type ZeroLogLogrAdapter
- func (a *ZeroLogLogrAdapter) Enabled(_ int) bool
- func (a *ZeroLogLogrAdapter) Error(err error, msg string, keysAndValues ...interface{})
- func (a *ZeroLogLogrAdapter) Info(level 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 ¶
This section is empty.
Types ¶
type LoggingHook ¶
type LoggingHook 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"` }
LoggingHook is the command executor for the "devbot" command.
type OTelHook ¶
type OTelHook struct { ServiceName string MetricReaderFactory func(ctx context.Context) (metric.Reader, error) // contains filtered or unexported fields }
type ZeroLogLogrAdapter ¶
type ZeroLogLogrAdapter struct {
// contains filtered or unexported fields
}
func (*ZeroLogLogrAdapter) Enabled ¶
func (a *ZeroLogLogrAdapter) Enabled(_ int) bool
func (*ZeroLogLogrAdapter) Error ¶
func (a *ZeroLogLogrAdapter) Error(err error, msg string, keysAndValues ...interface{})
func (*ZeroLogLogrAdapter) Info ¶
func (a *ZeroLogLogrAdapter) Info(level 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.