Two things are different:
-
Printing via package log is safe from concurrent goroutines (while plain
fmtisn’t) -
Log can add timing information automatically.
So these are two completely different things. log is for logging and fmt for formatting. (Okay, log uses the same verbs and flags, but that is just convenient).