utils/send_logs.go (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
package utils import "fmt" func SendLogsToServer() { logs, err := ReadLogs() if err != nil { fmt.Println("Error reading logs:", err) return } for _, log := range logs { fmt.Println(log) } }