GO-2024-2703: Kopia: Storage connection credentials written to console on "repository status" CLI command with JSON output in github.com/kopia/kopia
package
Version:
v0.3.0-rc1
Opens a new window with list of versions in this module.
Published: Jun 23, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package logging implements wrapper around Storage that logs all activity.
NewWrapper returns a Storage wrapper that logs all storage commands.
type Option func(s *loggingStorage)
Option modifies the behavior of logging storage wrapper.
func Output(outputFunc func(fmt string, args ...interface{})) Option
Output is a logging storage option that causes all output to be sent to a given function instead of log.Printf()
Prefix specifies prefix to be prepended to all log output.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.