log/修复WithBufferPool;

This commit is contained in:
2023-04-10 13:56:55 +08:00
parent 1840681201
commit 01792c8295

View File

@@ -17,6 +17,7 @@ type Option interface {
func WithBufferPool(pool synchelper.BytesBufferPool) Option {
return optionFunc(func(cfg *config) {
cfg.pool = pool
cfg.hasPool = true
})
}