func WithOutputFile(file string) Option {
	return &funcOption{
		do: func(o *options) {
			o.outputFile = file
		},
	}
}
WithOutputFile sets the output file path.
package log
import (
	"go.uber.org/zap/zapcore"
)
type Option interface {
	apply(*options)
}
type funcOption struct {
	do func(*options)
}
func (fo *funcOption) apply(o *options) {
	fo.do(o)
}
type options struct {
	writeSyncer zapcore.WriteSyncer
	outputFile  string
	logLevel    string
	context     string
}
func WithLogLevel(level string) Option {
	return &funcOption{
		do: func(o *options) {
			o.logLevel = level
		},
	}
}