// NewCore creates a Core that writes logs to a WriteSyncer.
NewCore creates a Core that writes logs to a WriteSyncer.
// NewCore creates a Core that writes logs to a WriteSyncer .
func NewCore(enc zapcore.Encoder, ws zapcore.WriteSyncer, enab zapcore.LevelEnabler) zapcore.Core {
	return &ioCore{
		LevelEnabler: enab,
		enc:          enc,
		out:          ws,
	}
}
func NewCore ( enc zapcore . Encoder , ws zapcore . WriteSyncer , enab zapcore . LevelEnabler ) zapcore . Core { return & ioCore { LevelEnabler : enab , enc : enc , out : ws , } }
NewCore creates a Core that writes logs to a WriteSyncer.
NewCore creates a Core that writes logs to a WriteSyncer .