mirror of
https://github.com/containers/skopeo.git
synced 2025-08-27 10:39:06 +00: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 }
|