(s string)
| 44 | } |
| 45 | |
| 46 | func SysLog(s string) { |
| 47 | t := time.Now() |
| 48 | _, _ = fmt.Fprintf(gin.DefaultWriter, "[SYS] %v | %s \n", t.Format("2006/01/02 - 15:04:05"), s) |
| 49 | } |
| 50 | |
| 51 | func SysLogf(format string, a ...any) { |
| 52 | SysLog(fmt.Sprintf(format, a...)) |
no outgoing calls
no test coverage detected