Documentation ¶ Index ¶ func DefaultLogger(ctx context.Context) *zap.Logger func SetConfig(name, version string) error type Logger func NewNop() *Logger func (l *Logger) WithTraceFromContext(ctx context.Context) *zap.Logger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DefaultLogger ¶ added in v1.1.0 func DefaultLogger(ctx context.Context) *zap.Logger func SetConfig ¶ added in v1.4.6 func SetConfig(name, version string) error Types ¶ type Logger ¶ type Logger struct { *zap.Logger // contains filtered or unexported fields } func NewNop ¶ added in v1.0.14 func NewNop() *Logger func (*Logger) WithTraceFromContext ¶ func (l *Logger) WithTraceFromContext(ctx context.Context) *zap.Logger Source Files ¶ View all Source files core.go logger.go Click to show internal directories. Click to hide internal directories.