package zapslog

Import Path
	go.pact.im/x/zapslog (on go.dev)

Dependency Relation
	imports 5 packages, and imported by 0 packages

Involved Source Files encode.go loglevel.go Package zapslog provides a [zapcore.Core] implementation that forwards logs to [slog.Handler].
Package-Level Type Names (total 4, in which 1 is exported)
/* sort exporteds by: | */
Core implements zapcore.Core and forwards log records to slog.Handler. Check implements the [zapcore.Core] interface. Enabled implements the [zapcore.Core] interface. Sync implements the [zapcore.Core] interface. With implements the [zapcore.Core] interface. Write implements the [zapcore.Core] interface. *Core : go.uber.org/zap/zapcore.Core *Core : go.uber.org/zap/zapcore.LevelEnabler func New(ctx context.Context, handler slog.Handler) *Core
Package-Level Functions (total 3, in which 1 is exported)
New creates a [Core] backed by the provided context and [slog.Handler].
Package-Level Constants (total 6, in which 4 are exported)
LevelDPanic is the log level for [zapcore.DPanicLevel] entries.
LevelFatal is the log level for [zapcore.FatalLevel] entries.
LevelInvalid is the log level for entries with invalid [zapcore.Level] values.
LevelPanic is the log level for [zapcore.PanicLevel] entries.