Adding custom prints/Info logs in code


In order to better understand the Docker code flow, I’d like to add some print statements which I can see on output later when I issue commands from cli. I first tried the usual fmt.Println() but it didn’t work. I followed the docker development container procedure as documented under moby’s contributing guidelines. Is there a common or standard way of adding prints/info logs?

Are you using the modified cli? moby/moby pulls in an old cli.

fmt.Println should be fine.

Brian Goff