...

Source file src/github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/nopformatter.go

Documentation: github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1

     1  package main
     2  
     3  import (
     4  	"github.com/sirupsen/logrus"
     5  )
     6  
     7  type nopFormatter struct{}
     8  
     9  // Format does nothing and returns a nil slice.
    10  func (nopFormatter) Format(*logrus.Entry) ([]byte, error) { return nil, nil }
    11  

View as plain text