Trivial: remove unused logging.Option type

This commit is contained in:
Julio Lopez
2020-05-29 13:07:14 -07:00
committed by Julio López
parent 6bc47cb399
commit deb1099c52

View File

@@ -82,9 +82,6 @@ func (s *loggingStorage) ConnectionInfo() blob.ConnectionInfo {
return s.base.ConnectionInfo()
}
// Option modifies the behavior of logging storage wrapper.
type Option func(s *loggingStorage)
// NewWrapper returns a Storage wrapper that logs all storage commands.
func NewWrapper(wrapped blob.Storage, printf func(msg string, args ...interface{}), prefix string) blob.Storage {
return &loggingStorage{base: wrapped, printf: printf, prefix: prefix}