mirror of
https://github.com/containers/podman.git
synced 2025-12-05 21:32:22 +08:00
13 lines
250 B
Go
13 lines
250 B
Go
package log
|
|
|
|
import (
|
|
"github.com/sirupsen/logrus"
|
|
)
|
|
|
|
type NopFormatter struct{}
|
|
|
|
var _ logrus.Formatter = NopFormatter{}
|
|
|
|
// Format does nothing and returns a nil slice.
|
|
func (NopFormatter) Format(*logrus.Entry) ([]byte, error) { return nil, nil }
|