Documentation ¶
Overview ¶
Copyright 2024 BeyondTrust. All rights reserved. Package logging abstraction.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogLogger ¶
type LogLogger struct {
// contains filtered or unexported fields
}
log.logger
func NewLogLogger ¶
NewLogLogger creates a new go log logger
type LogrLogger ¶
type LogrLogger struct {
// contains filtered or unexported fields
}
logr.logger
func NewLogrLogger ¶
func NewLogrLogger(logger *logr.Logger) *LogrLogger
NewLogrLogger creates a new logrLogger with the given logr.logger
func (*LogrLogger) Debug ¶
func (r *LogrLogger) Debug(msg string)
func (*LogrLogger) Error ¶
func (r *LogrLogger) Error(msg string)
Error logs a message at error level
func (*LogrLogger) Warn ¶
func (r *LogrLogger) Warn(msg string)
type ZapLogger ¶
type ZapLogger struct {
// contains filtered or unexported fields
}
ZapLogger is a struct that implements the Logger interface using zap
func NewZapLogger ¶
NewZapLogger creates a new ZapLogger with the given zap.Logger
Click to show internal directories.
Click to hide internal directories.