rspec/rules/S106/description.adoc

11 lines
502 B
Plaintext
Raw Normal View History

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:
* easily accessible
* uniformly formatted for readability
* properly recorded
* securely logged when dealing with sensitive data
2020-06-30 10:16:44 +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.