wpclogger

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 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 added in v1.0.5

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

func NewBhLogEntry added in v1.0.5

func NewBhLogEntry(logger *zap.SugaredLogger) *BhLogEntry

func (*BhLogEntry) Debug added in v1.0.5

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

func (*BhLogEntry) Debugf added in v1.0.5

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

func (*BhLogEntry) Error added in v1.0.5

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

func (*BhLogEntry) Errorf added in v1.0.5

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

func (*BhLogEntry) Info added in v1.0.5

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

func (*BhLogEntry) Infof added in v1.0.5

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

func (*BhLogEntry) Warn added in v1.0.5

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

func (*BhLogEntry) Warnf added in v1.0.5

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

func (*BhLogEntry) WithField added in v1.0.5

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

func (*BhLogEntry) WithFields added in v1.0.5

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

type BlackHoleLogger added in v1.0.5

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

func NewBlackholeLogger added in v1.0.5

func NewBlackholeLogger(zapLogger *zap.SugaredLogger) *BlackHoleLogger

func (*BlackHoleLogger) Debug added in v1.0.5

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

func (*BlackHoleLogger) Debugf added in v1.0.5

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

func (*BlackHoleLogger) Error added in v1.0.5

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

func (*BlackHoleLogger) Errorf added in v1.0.5

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

func (*BlackHoleLogger) Info added in v1.0.5

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

func (*BlackHoleLogger) Infof added in v1.0.5

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

func (*BlackHoleLogger) SubLogger added in v1.0.5

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

func (*BlackHoleLogger) Warn added in v1.0.5

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

func (*BlackHoleLogger) Warnf added in v1.0.5

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

func (*BlackHoleLogger) WithError added in v1.0.5

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

func (*BlackHoleLogger) WithField added in v1.0.5

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

func (*BlackHoleLogger) WithFields added in v1.0.5

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

type LogEntry

type LogEntry struct {
}

func NewLogEntry

func NewLogEntry() *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 NewWpcLogger

func NewWpcLogger() *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