Adding Logs in the App
Learn about logging in Go apps and how to be consistent with them.
We'll cover the following...
Logging is the process of printing or outputting information about an application from its source code. Logs are an indispensable part of an application because they:
Keep a history of application behavior, including information related to business, the functions that were executed, and the data the functions received and processed.
Store any errors that might have occurred and their traces. This is especially useful in cases when the app malfunctions.
Help understand the workflow ...