log

package
v0.0.0-...-e0b5030 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(ctx context.Context, v ...interface{})

func Debugf

func Debugf(ctx context.Context, format string, v ...interface{})

func Disable

func Disable()

func Error

func Error(ctx context.Context, v ...interface{})

func Errorf

func Errorf(ctx context.Context, format string, v ...interface{})

func Fatal

func Fatal(ctx context.Context, v ...interface{})

func Fatalf

func Fatalf(ctx context.Context, format string, v ...interface{})

func Info

func Info(ctx context.Context, v ...interface{})

[TODO] more pretty

func Infof

func Infof(ctx context.Context, format string, v ...interface{})

func Warn

func Warn(ctx context.Context, v ...interface{})

func Warnf

func Warnf(ctx context.Context, format string, v ...interface{})

Types

type CustomFormatter

type CustomFormatter struct {
	logrus.Formatter
}

func (*CustomFormatter) Format

func (f *CustomFormatter) Format(entry *logrus.Entry) ([]byte, error)

Jump to

Keyboard shortcuts

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