refactor: reduce debug logging output in calendar and display managers

This commit is contained in:
ChuckBuilds
2025-04-23 15:38:40 -05:00
parent a38f83d27a
commit 3f4b1ec4fc
2 changed files with 5 additions and 20 deletions

View File

@@ -243,14 +243,8 @@ class DisplayManager:
# Select font based on parameters
if font:
current_font = font
if not hasattr(self, '_last_font') or self._last_font != font:
logger.debug(f"Using custom font: {font}")
self._last_font = font
else:
current_font = self.small_font if small_font else self.regular_font
if not hasattr(self, '_last_font') or self._last_font != current_font:
logger.debug(f"Using {'small' if small_font else 'regular'} font: {current_font}")
self._last_font = current_font
# Calculate x position if not provided (center text)
if x is None: