workaround weird gofmt issue

pull/16/head
Richard Liu 6 years ago
parent e183eea0f6
commit aa3f414d37
  1. 2
      benchmark.go
  2. 2
      client/txgen/main.go

@ -86,7 +86,7 @@ func main() {
// Setup a logger to stdout and log file.
logFileName := fmt.Sprintf("./%v/%v.log", *logFolder, *port)
h := log.MultiHandler(
log.StdoutHandler, // Log to terminal
log.StdoutHandler,
log.Must.FileHandler(logFileName, log.LogfmtFormat()), // Log to file
// log.Must.NetHandler("tcp", ":3000", log.JSONFormat()) // Log to remote
)

@ -257,7 +257,7 @@ func main() {
// Setup a logger to stdout and log file.
logFileName := fmt.Sprintf("./%v/tx-generator.log", *logFolder)
h := log.MultiHandler(
log.StdoutHandler, // Log to terminal
log.StdoutHandler,
log.Must.FileHandler(logFileName, log.LogfmtFormat()), // Log to file
// log.Must.NetHandler("tcp", ":3000", log.JSONFormat()) // Log to remote
)

Loading…
Cancel
Save