Documentation ¶
Index ¶
- func Debug(ctx context.Context, args ...any)
- func Debugf(ctx context.Context, format string, args ...any)
- func Error(ctx context.Context, err error, args ...any)
- func Errorf(ctx context.Context, err error, format string, args ...any)
- func Fatalf(ctx context.Context, err error, format string, args ...any)
- func GetGlobalLogger() *zerolog.Logger
- func Info(ctx context.Context, args ...any)
- func Infof(ctx context.Context, format string, args ...any)
- func SentryDefer()
- func SetupLog(ctx context.Context, cfg *types.ServerLogConfig, dsn string) error
- func Warn(ctx context.Context, args ...any)
- func Warnf(ctx context.Context, format string, args ...any)
- type Fields
- func (f Fields) Debug(ctx context.Context, args ...any)
- func (f Fields) Debugf(ctx context.Context, format string, args ...any)
- func (f Fields) Error(ctx context.Context, err error, args ...any)
- func (f Fields) Errorf(ctx context.Context, err error, format string, args ...any)
- func (f Fields) Fatalf(ctx context.Context, err error, format string, args ...any)
- func (f Fields) Info(ctx context.Context, args ...any)
- func (f Fields) Infof(ctx context.Context, format string, args ...any)
- func (f Fields) Warn(ctx context.Context, args ...any)
- func (f Fields) Warnf(ctx context.Context, format string, args ...any)
- func (f *Fields) WithField(key string, value any) *Fields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fields ¶
type Fields struct {
// contains filtered or unexported fields
}
Fields is a wrapper for zerolog.Entry we need to insert some sentry captures here
Click to show internal directories.
Click to hide internal directories.