mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
refactor: update go mod library and refactor dev logic Co-authored-by: wencaiwulue <895703375@qq.com>
29 lines
814 B
Go
29 lines
814 B
Go
//nolint:all
|
|
package log
|
|
|
|
// DefaultLogger is enabled when no consuming clients provide
|
|
// a logger to the server/cache subsystem
|
|
type DefaultLogger struct {
|
|
}
|
|
|
|
// NewDefaultLogger creates a DefaultLogger which is a no-op to maintain current functionality
|
|
func NewDefaultLogger() *DefaultLogger {
|
|
return &DefaultLogger{}
|
|
}
|
|
|
|
// Debugf logs a message at level debug on the standard logger.
|
|
func (l *DefaultLogger) Debugf(string, ...interface{}) {
|
|
}
|
|
|
|
// Infof logs a message at level info on the standard logger.
|
|
func (l *DefaultLogger) Infof(string, ...interface{}) {
|
|
}
|
|
|
|
// Warnf logs a message at level warn on the standard logger.
|
|
func (l *DefaultLogger) Warnf(string, ...interface{}) {
|
|
}
|
|
|
|
// Errorf logs a message at level error on the standard logger.
|
|
func (l *DefaultLogger) Errorf(string, ...interface{}) {
|
|
}
|