Documentation
¶
Index ¶
- func Debug(ctx context.Context, msg string, fields ...zapcore.Field)
- func Error(ctx context.Context, msg string, fields ...zapcore.Field)
- func Fatal(ctx context.Context, msg string, fields ...zapcore.Field)
- func GetTraceID(ctx context.Context) string
- func Info(ctx context.Context, msg string, fields ...zapcore.Field)
- func Initialize(config Config) error
- func Sync() error
- func Warn(ctx context.Context, msg string, fields ...zapcore.Field)
- func WithContext(ctx context.Context) *zap.Logger
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTraceID ¶
GetTraceID extracts trace ID from context
func Initialize ¶
Initialize sets up the global logger with the provided configuration
Types ¶
Click to show internal directories.
Click to hide internal directories.