System resources logger in Go