2023-10-16 20:57:06 +02:00
|
|
|
In software development, logs serve as a record of events within an application, providing crucial insights for debugging.
|
|
|
|
When logging, it is essential to ensure that the logs are:
|
2020-06-30 14:49:38 +02:00
|
|
|
|
2023-10-16 20:57:06 +02:00
|
|
|
* easily accessible
|
|
|
|
* uniformly formatted for readability
|
|
|
|
* properly recorded
|
|
|
|
* securely logged when dealing with sensitive data
|
2020-06-30 10:16:44 +02:00
|
|
|
|
2023-10-16 20:57:06 +02:00
|
|
|
Those requirements are not met if a program directly writes to the standard outputs (e.g., {language_std_outputs}).
|
|
|
|
That is why defining and using a dedicated logger is highly recommended.
|