rename NewPluginLogger to NewLogger
Signed-off-by: Steve Kriss <steve@heptio.com>pull/226/head
parent
038fa39451
commit
b66efd9416
|
@ -31,7 +31,7 @@ import (
|
|||
)
|
||||
|
||||
func NewCommand() *cobra.Command {
|
||||
logger := arkplugin.NewPluginLogger()
|
||||
logger := arkplugin.NewLogger()
|
||||
|
||||
objectStores := map[string]cloudprovider.ObjectStore{
|
||||
"aws": aws.NewObjectStore(),
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue