@@ -1,13 +1,14 @@
package main
import (
+ "log"
"runtime"
"time"
)
func monitor() {
for {
- logPrintln("goroutines", runtime.NumGoroutine())
- time.Sleep( 60 * time.Second)
+ log.Println("goroutines", runtime.NumGoroutine())
+ time.Sleep(60 * time.Second)
}