Files
kopia/internal/kopialogging/logging.go
2018-07-09 21:51:24 -07:00

10 lines
283 B
Go

// Package kopialogging provides loggers for the rest of codebase.
package kopialogging
import "github.com/op/go-logging"
// Logger returns an instance of a logger used throughout Kopia codebase.
func Logger(module string) *logging.Logger {
return logging.MustGetLogger(module)
}