xlog

package
v1.5.23 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

func Debugf

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

func Error

func Error(args ...interface{})

func Errorf

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

func Info

func Info(args ...interface{})

func Infof

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

func Warn

func Warn(args ...interface{})

func Warnf

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

Types

type DebugLogger

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

type ErrorLogger

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

type InfoLogger

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

type Logger

type Logger struct {
	Logger *zap.Logger
	Sugar  *zap.SugaredLogger
	// contains filtered or unexported fields
}

func Zap added in v1.5.3

func Zap() *Logger

func (*Logger) Debug added in v1.5.3

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

func (*Logger) Debugf added in v1.5.3

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

func (*Logger) Error added in v1.5.3

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

func (*Logger) Errorf added in v1.5.3

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

func (*Logger) Info added in v1.5.3

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

func (*Logger) Infof added in v1.5.3

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

func (*Logger) Warn added in v1.5.3

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

func (*Logger) Warnf added in v1.5.3

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

type WarnLogger

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

Jump to

Keyboard shortcuts

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