Documentation ¶
Index ¶
- func GetLogger(ctx context.Context) *zap.Logger
- func GetTraceID(ctx context.Context) string
- func SetLoggerEcho(ctx echo.Context, logger *zap.Logger)
- func SetTraceIDEcho(ctx echo.Context, traceID string)
- func SetValuesEcho(ctx echo.Context, logger *zap.Logger, traceID string)
- func WithCommandValues(parent context.Context, name string, logger *zap.Logger, traceID string) context.Context
- func WithLogger(parent context.Context, logger *zap.Logger) context.Context
- func WithTraceID(parent context.Context, id string) context.Context
- func WithValues(parent context.Context, logger *zap.Logger, traceID string) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTraceID ¶
func SetLoggerEcho ¶
func SetTraceIDEcho ¶
func SetTraceIDEcho(ctx echo.Context, traceID string)
func SetValuesEcho ¶
func WithCommandValues ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.