Documentation ¶ Index ¶ func DefaultLogger(ctx context.Context) *zap.Logger func InitializeLogger(ctx context.Context, name, version string) error type Logger func New(ctx context.Context, name, version string) (*Logger, error) 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 InitializeLogger ¶ added in v1.1.0 func InitializeLogger(ctx context.Context, name, version string) error Types ¶ type Logger ¶ type Logger struct { *zap.Logger // contains filtered or unexported fields } func New ¶ func New(ctx context.Context, name, version string) (*Logger, error) 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.