2
0
0xdcarns 3 жил өмнө
parent
commit
5712ce3871
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      logger/logger.go

+ 1 - 1
logger/logger.go

@@ -67,7 +67,7 @@ func Dump() string {
 func DumpFile(filePath string) {
 	f, err := os.OpenFile(filePath, os.O_APPEND|os.O_WRONLY|os.O_CREATE, 0600)
 	if err != nil {
-		fmt.Println(MakeString("could not open log file", filePath))
+		fmt.Println(MakeString(" ", "could not open log file", filePath))
 		return
 	}