mirror of
https://github.com/kopia/kopia.git
synced 2026-01-29 08:43:09 -05:00
Trivial: remove unused logging.Option type
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user