logger

package
v1.16.5 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level int

Level log level

const (
	Silent Level = iota + 1
	Error
	Warn
	Info
)

type Logger

type Logger interface {
	Level(Level) Logger
	Log() log.Log
	Infof(context.Context, string, ...any)
	Warningf(context.Context, string, ...any)
	Errorf(context.Context, string, ...any)
	Panicf(context.Context, string, ...any)
	Trace(ctx context.Context, begin *carbon.Carbon, sql string, rowsAffected int64, err error)
	ToGorm() logger.Interface
}

Jump to

Keyboard shortcuts

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