Image for post
Image for post
Photo by Dan LeFebvre on Unsplash

When we are developing an application or library, we rapidly need to log somewhere what happens inside it, or who does what. It is what we call application logs and access logs. We can even do this with a certain level of granularity depending on the section of the program, whether we have to restart the application or not.

For this, whatever the languages, there are logging libraries ensuring the management of logs according to a given level. For the Go programming language, we have the basic package (log) which allows to output logs to an output (io.Writer).

Besides this, other logging libraries have been developed to meet more advanced needs (such as the level of logging, the destination of the logs, their formatting, …). Here are a…

Dumas sylvain

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store