github.com/wfusion/gofusion@v1.1.14/log/flag.go (about)

     1  package log
     2  
     3  import (
     4  	"github.com/spf13/pflag"
     5  )
     6  
     7  var flagString string
     8  
     9  func init() {
    10  	pflag.StringVarP(&flagString, "log-config", "", "", "json string for log config")
    11  }