Documentation ¶
Index ¶
- Variables
- func Fatal(err error)
- func FatalMsg(err error, friendlyMessage string)
- type GormLogger
- func (l GormLogger) Error(ctx context.Context, msg string, opts ...interface{})
- func (l GormLogger) Info(ctx context.Context, msg string, opts ...interface{})
- func (l GormLogger) LogMode(logger.LogLevel) logger.Interface
- func (l GormLogger) Trace(ctx context.Context, begin time.Time, f func() (string, int64), err error)
- func (l GormLogger) Warn(ctx context.Context, msg string, opts ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})
Logger is the system-wide logger
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.