Documentation ¶
Index ¶
- func L(ctx context.Context) *zap.Logger
- func MarshalJSON(v any) string
- func MigrateLogger(l *zap.Logger, verbose bool) migrate.Logger
- func NewLogger() *zap.Logger
- func RoundTripper(l *zap.Logger, inner http.RoundTripper) http.RoundTripper
- func UnaryClientInterceptor(l *zap.Logger) grpc.UnaryClientInterceptor
- func UnaryInterceptor(l *zap.Logger) grpc.UnaryServerInterceptor
- func WithLogger(ctx context.Context, l *zap.Logger) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalJSON ¶
func MigrateLogger ¶
func RoundTripper ¶
func RoundTripper(l *zap.Logger, inner http.RoundTripper) http.RoundTripper
func UnaryClientInterceptor ¶
func UnaryClientInterceptor(l *zap.Logger) grpc.UnaryClientInterceptor
func UnaryInterceptor ¶
func UnaryInterceptor(l *zap.Logger) grpc.UnaryServerInterceptor
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.