package elastic import ( "fmt" ) const ( ES_URL = "http://es-cn-nif227b580019rgw6.public.elasticsearch.aliyuncs.com:9200" //<1> ES_USERNAME = "elastic" //<2> ES_PASSWORD = "hongze@2021" //<3> //Grafana pwd-> 20521bb9 //Grafana username-> emon ) type tracelog struct{} //实现输出 func (tracelog) Printf(format string, v ...interface{}) { fmt.Printf(format, v...) }