1
0
mirror of https://github.com/getsops/sops.git synced 2026-02-05 12:45:21 +01:00

Use logrus features for better logging

This commit is contained in:
Adrian Utrilla
2017-09-07 10:49:27 -07:00
parent 17d5d6b65c
commit 55c7174713
8 changed files with 86 additions and 42 deletions

View File

@@ -11,12 +11,13 @@ import (
"strings"
"github.com/sirupsen/logrus"
"go.mozilla.org/sops/logging"
)
var log *logrus.Logger
func init() {
log = logrus.New()
log = logging.NewLogger("AES")
}
type encryptedValue struct {