Versions in this module Expand all Collapse all v1 v1.0.2 Dec 7, 2021 Changes in this version + const CompressionGzip + const CompressionNone + const CompressionZlib + const DefaultChunkSize + const MaxChunkCount + const MaxChunkSize + const MinChunkSize + var ErrChunkTooLarge = errors.New("chunk size too large") + var ErrChunkTooSmall = errors.New("chunk size too small") + var ErrUnknownCompressionType = errors.New("unknown compression type") + func NewCore(options ...Option) (_ zapcore.Core, err error) + type Option interface + func Addr(value string) Option + func CallerKey(value string) Option + func ChunkSize(value int) Option + func CompressionLevel(value int) Option + func CompressionType(value int) Option + func EncodeCaller(value zapcore.CallerEncoder) Option + func EncodeDuration(value zapcore.DurationEncoder) Option + func EncodeName(value zapcore.NameEncoder) Option + func Facility(value string) Option + func Host(value string) Option + func Level(value zapcore.Level) Option + func LevelString(value string) Option + func LineEnding(value string) Option + func NameKey(value string) Option + func Version(value string) Option