fix: console logger regression with dynamic logger webhook registration (#14346)

fixes a regression from #14289
This commit is contained in:
Harshavardhana
2022-02-17 17:50:10 -08:00
committed by GitHub
parent 1dbb3f6f43
commit 65b1a4282e
3 changed files with 12 additions and 1 deletions

View File

@@ -29,6 +29,9 @@ import (
c "github.com/minio/pkg/console"
)
// ConsoleLoggerTgt is a stringified value to represent console logging
const ConsoleLoggerTgt = "console+http"
// Logger interface describes the methods that need to be implemented to satisfy the interface requirements.
type Logger interface {
json(msg string, args ...interface{})