InstallStd print file location error
icoder528 opened this issue · comments
icoder528 commented
golog.InstallStd(log.New(os.Stderr, "", log.LstdFlags|log.Lshortfile))
get print location always in integration.go:79
Gerasimos (Makis) Maropoulos commented
Yes, you have to customize the output (look here: #3 (comment)) but look at the runtime.Caller(6)
, change it to 7 or 8 and play with it until you make it to print the location of your source code instead of the golog's integration.