rename NewPluginLogger to NewLogger

Signed-off-by: Steve Kriss <steve@heptio.com>
pull/226/head
Steve Kriss 2017-11-29 14:01:31 -08:00
parent 038fa39451
commit b66efd9416
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ import (
)
func NewCommand() *cobra.Command {
logger := arkplugin.NewPluginLogger()
logger := arkplugin.NewLogger()
objectStores := map[string]cloudprovider.ObjectStore{
"aws": aws.NewObjectStore(),

View File

@ -22,9 +22,9 @@ import (
"github.com/heptio/ark/pkg/util/logging"
)
// NewPluginLogger returns a logger that is suitable for use within an
// NewLogger returns a logger that is suitable for use within an
// Ark plugin.
func NewPluginLogger() logrus.FieldLogger {
func NewLogger() logrus.FieldLogger {
logger := logrus.New()
// we use the JSON formatter because go-plugin will parse incoming