Files
2026-02-17 13:06:23 +08:00

13 lines
203 B
Go

package baseutils
import (
"fmt"
"time"
)
// PrintLog 打印日志
func PrintLog(logStr string) {
currentTime := time.Now().Format("2006-01-02 15:04:05")
fmt.Println(currentTime + ": " + logStr)
}