Skip to content

Commit 98d111a

Browse files
committed
Removed unnecessary Log method
1 parent 08feac8 commit 98d111a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/code.cloudfoundry.org/gorouter/logadapter/logadapter.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ func NewZapLevelSink(l *slog.Logger) *zapLevelSink {
2323
return &zapLevelSink{logger: l}
2424
}
2525

26-
func (z *zapLevelSink) Log(lf lager.LogFormat) {
27-
z.logger.Info("zapLevelSink Log()", slog.String("Zap Level Sink log invoked", lf.Message),
28-
slog.String("source", lf.Source))
29-
}
30-
3126
func (z *zapLevelSink) LogLevel() lager.LogLevel {
3227
switch strings.ToLower(grlog.GetLoggingLevel()) {
3328
case "debug":

0 commit comments

Comments
 (0)