Co-authored-by: mmsqe <mavis@crypto.com>
This commit is contained in:
parent
4bd0e0216d
commit
0a682f7ae3
@ -49,7 +49,7 @@ func (lw *StandardLogWriter) PrintLogs() {
|
||||
func createLogFile() *os.File {
|
||||
var f *os.File
|
||||
|
||||
fileName := fmt.Sprintf("%s.log", time.Now().Format("2006-01-02_15:04:05"))
|
||||
fileName := fmt.Sprintf("%d.log", time.Now().UnixMilli())
|
||||
folderPath := path.Join(os.ExpandEnv("$HOME"), ".simapp", "simulations")
|
||||
filePath := path.Join(folderPath, fileName)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user