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{})
- type StripeLogger
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 ¶
type GormLogger ¶
type GormLogger struct { }
func (GormLogger) Error ¶
func (l GormLogger) Error(ctx context.Context, msg string, opts ...interface{})
func (GormLogger) Info ¶
func (l GormLogger) Info(ctx context.Context, msg string, opts ...interface{})
type StripeLogger ¶
type StripeLogger struct {
Level stripe.Level
}
func (StripeLogger) Debugf ¶
func (s StripeLogger) Debugf(format string, v ...interface{})
func (StripeLogger) Errorf ¶
func (s StripeLogger) Errorf(format string, v ...interface{})
func (StripeLogger) Infof ¶
func (s StripeLogger) Infof(format string, v ...interface{})
func (StripeLogger) Warnf ¶
func (s StripeLogger) Warnf(format string, v ...interface{})
Click to show internal directories.
Click to hide internal directories.