Select between log and fmt using these facts:
- The
logfunctions print to stderr by default and can directed to an arbitrary writer. Thefmt.Printffunction prints to stdout. - The
logfunctions can print timestamp, source code location and other info. - The
logfunctions andfmt.Printfare both thread safe, but concurrent writes byfmt.Printfabove an OS dependent size can be interleaved.
The answer to the three sub questions are “it depends”.