wpcl

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BhLogEntry

type BhLogEntry struct {
	// contains filtered or unexported fields
}

func NewBhLogEntry

func NewBhLogEntry(logger *zap.SugaredLogger) *BhLogEntry

func (*BhLogEntry) Debug

func (l *BhLogEntry) Debug(args ...interface{})

func (*BhLogEntry) Debugf

func (l *BhLogEntry) Debugf(format string, args ...interface{})

func (*BhLogEntry) Error

func (l *BhLogEntry) Error(args ...interface{})

func (*BhLogEntry) Errorf

func (l *BhLogEntry) Errorf(format string, args ...interface{})

func (*BhLogEntry) Info

func (l *BhLogEntry) Info(args ...interface{})

func (*BhLogEntry) Infof

func (l *BhLogEntry) Infof(format string, args ...interface{})

func (*BhLogEntry) Warn

func (l *BhLogEntry) Warn(args ...interface{})

func (*BhLogEntry) Warnf

func (l *BhLogEntry) Warnf(format string, args ...interface{})

func (*BhLogEntry) WithField

func (l *BhLogEntry) WithField(name string, value interface{}) log.Entry

func (*BhLogEntry) WithFields

func (l *BhLogEntry) WithFields(fields log.Fields) log.Entry

type BlackHoleLogger

type BlackHoleLogger struct {
	// contains filtered or unexported fields
}

func NewBlackHoleLogger

func NewBlackHoleLogger(zapLogger *zap.SugaredLogger) *BlackHoleLogger

func (*BlackHoleLogger) Debug

func (w *BlackHoleLogger) Debug(args ...interface{})

func (*BlackHoleLogger) Debugf

func (w *BlackHoleLogger) Debugf(format string, args ...interface{})

func (*BlackHoleLogger) Error

func (w *BlackHoleLogger) Error(args ...interface{})

func (*BlackHoleLogger) Errorf

func (w *BlackHoleLogger) Errorf(format string, args ...interface{})

func (*BlackHoleLogger) Info

func (w *BlackHoleLogger) Info(args ...interface{})

func (*BlackHoleLogger) Infof

func (w *BlackHoleLogger) Infof(format string, args ...interface{})

func (*BlackHoleLogger) SubLogger

func (w *BlackHoleLogger) SubLogger(fields log.Fields) log.Logger

func (*BlackHoleLogger) Warn

func (w *BlackHoleLogger) Warn(args ...interface{})

func (*BlackHoleLogger) Warnf

func (w *BlackHoleLogger) Warnf(format string, args ...interface{})

func (*BlackHoleLogger) WithError

func (w *BlackHoleLogger) WithError(err error) log.Entry

func (*BlackHoleLogger) WithField

func (w *BlackHoleLogger) WithField(name string, value interface{}) log.Entry

func (*BlackHoleLogger) WithFields

func (w *BlackHoleLogger) WithFields(fields log.Fields) log.Entry

type LogEntry

type LogEntry struct {
	// contains filtered or unexported fields
}

func NewLogEntry

func NewLogEntry(zapLogger *zap.SugaredLogger) *LogEntry

func (*LogEntry) Debug

func (l *LogEntry) Debug(args ...interface{})

func (*LogEntry) Debugf

func (l *LogEntry) Debugf(format string, args ...interface{})

func (*LogEntry) Error

func (l *LogEntry) Error(args ...interface{})

func (*LogEntry) Errorf

func (l *LogEntry) Errorf(format string, args ...interface{})

func (*LogEntry) Info

func (l *LogEntry) Info(args ...interface{})

func (*LogEntry) Infof

func (l *LogEntry) Infof(format string, args ...interface{})

func (*LogEntry) Warn

func (l *LogEntry) Warn(args ...interface{})

func (*LogEntry) Warnf

func (l *LogEntry) Warnf(format string, args ...interface{})

func (*LogEntry) WithField

func (l *LogEntry) WithField(name string, value interface{}) log.Entry

func (*LogEntry) WithFields

func (l *LogEntry) WithFields(fields log.Fields) log.Entry

type WpcLogger

type WpcLogger struct {
	// contains filtered or unexported fields
}

func NewFullInfoLogger

func NewFullInfoLogger(zapLogger *zap.SugaredLogger) *WpcLogger

func (*WpcLogger) Debug

func (w *WpcLogger) Debug(args ...interface{})

func (*WpcLogger) Debugf

func (w *WpcLogger) Debugf(format string, args ...interface{})

func (*WpcLogger) Error

func (w *WpcLogger) Error(args ...interface{})

func (*WpcLogger) Errorf

func (w *WpcLogger) Errorf(format string, args ...interface{})

func (*WpcLogger) Info

func (w *WpcLogger) Info(args ...interface{})

func (*WpcLogger) Infof

func (w *WpcLogger) Infof(format string, args ...interface{})

func (*WpcLogger) SubLogger

func (w *WpcLogger) SubLogger(fields log.Fields) log.Logger

func (*WpcLogger) Warn

func (w *WpcLogger) Warn(args ...interface{})

func (*WpcLogger) Warnf

func (w *WpcLogger) Warnf(format string, args ...interface{})

func (*WpcLogger) WithError

func (w *WpcLogger) WithError(err error) log.Entry

func (*WpcLogger) WithField

func (w *WpcLogger) WithField(name string, value interface{}) log.Entry

func (*WpcLogger) WithFields

func (w *WpcLogger) WithFields(fields log.Fields) log.Entry

Jump to

Keyboard shortcuts

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