Add logging when heap profiler is created

This commit is contained in:
qowevisa 2024-06-09 08:08:59 +03:00
parent f69cf7911e
commit b60ebc637f

View File

@ -32,6 +32,7 @@ func captureHeapProfile() {
if err := pprof.WriteHeapProfile(f); err != nil {
log.Fatalf("could not write memory profile: %v", err)
}
log.Printf("Created %s mem profile\n", filename)
}
func main() {