Logging in Go
The log
package provides a general way to log information on your Unix machine, whereas the log/syslog
Go package allows you to send information to the system logging service using the logging level and the logging facility you want. Also, the time
package can help you work with dates and times.