Roger-random / ESP_8_BIT_composite

Color composite video code from ESP_8_BIT as an Arduino library
MIT License
125 stars 15 forks source link

Reduce importance level of X/Y clamp logs #9

Closed Roger-random closed 3 years ago

Roger-random commented 3 years ago

Design change from version 1.0.0 based on feedback from @emilyvelasco

While investigating #8 it became obvious that clamping X/Y coordinate to fit on screen is not an error condition. Clamping can occur as part of normal operation, such as drawing a circle close to the edge of the screen.

However, there are still occasions when it is useful to know when clamping has occurred, because it still represent unnecessary work that is wasted.

Compromise: Drop "value has been clamped" logging messages from "Error" to "Verbose" level of importance.

Roger-random commented 3 years ago

Logging level dropped in 5ef29c2efa3df0c147174ff1c2f77e8ab1cbb0ab