Documentation ¶ Index ¶ func Fatal(err error) func From(ctx context.Context) *zap.Logger func Init() error func New() *zap.Logger func Sync() error func WithLogger(parent context.Context, logger *zap.Logger) context.Context type StdLogger func Std(scope string) StdLogger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Fatal ¶ func Fatal(err error) func From ¶ func From(ctx context.Context) *zap.Logger func Init ¶ func Init() error func New ¶ func New() *zap.Logger func Sync ¶ func Sync() error func WithLogger ¶ func WithLogger(parent context.Context, logger *zap.Logger) context.Context Types ¶ type StdLogger ¶ type StdLogger interface { Print(v ...any) Printf(format string, v ...any) Println(v ...any) } func Std ¶ func Std(scope string) StdLogger Source Files ¶ View all Source files logger.go std.go Click to show internal directories. Click to hide internal directories.