Documentation
¶
Index ¶
- func Init() error
- func StartSpan(ctx context.Context, name string) (context.Context, trace.Span)
- func TimestampToStringValue(t *timestamppb.Timestamp) attribute.Value
- type Config
- type Logger
- func (l *Logger) Debug(ctx context.Context, msg string, fields ...zap.Field)
- func (l *Logger) Error(ctx context.Context, msg string, fields ...zap.Field)
- func (l *Logger) Fatal(ctx context.Context, msg string, fields ...zap.Field)
- func (l *Logger) Info(ctx context.Context, msg string, fields ...zap.Field)
- func (l *Logger) Warn(ctx context.Context, msg string, fields ...zap.Field)
- func (l *Logger) ZapLogger() *zap.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TimestampToStringValue ¶
func TimestampToStringValue(t *timestamppb.Timestamp) attribute.Value
Types ¶
Click to show internal directories.
Click to hide internal directories.