log

package
v0.0.0-...-e4d4a11 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

Debug logs a message at level Debug on the standard logrusLogger.

func Debugf

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

Debug logs a message at level Debug on the standard logrusLogger.

func Error

func Error(args ...interface{})

Error logs a message at level Error on the standard logrusLogger.

func Errorf

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

Error logs a message at level Error on the standard logrusLogger.

func Fatal

func Fatal(args ...interface{})

Fatal logs a message at level Fatal on the standard logrusLogger.

func Fatalf

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

Fatal logs a message at level Fatal on the standard logrusLogger.

func Info

func Info(args ...interface{})

Info logs a message at level Info on the standard logrusLogger.

func Infof

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

Info logs a message at level Info on the standard logrusLogger.

func NewGormLogger

func NewGormLogger() *logger

func Panic

func Panic(args ...interface{})

Panic logs a message at level Panic on the standard logrusLogger.

func Panicf

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

Panic logs a message at level Panic on the standard logrusLogger.

func SetLogFormatter

func SetLogFormatter(formatter logrus.Formatter)

func SetLogLevel

func SetLogLevel(level string)

func Warn

func Warn(args ...interface{})

Warn logs a message at level Warn on the standard logrusLogger.

func Warnf

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

Warn logs a message at level Warn on the standard logrusLogger.

Types

type Fields

type Fields logrus.Fields

Fields wraps logrus.Fields, which is a map[string]interface{}

Jump to

Keyboard shortcuts

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