Skip to content

refactor: Add padding to levelname in terminal logs - #1303

Merged
tpoliaw merged 1 commit into
mainfrom
align-terminal-logging
Jan 7, 2026
Merged

tpoliaw merged 1 commit into
mainfrom
align-terminal-logging

Conversation

@tpoliaw

@tpoliaw tpoliaw commented Dec 12, 2025

Copy link
Copy Markdown
Contributor

It makes it easier to follow logs when the message part is aligned and
the level does not affect where the text starts.

The colouring method has been refactored at the same time to reduce the
duplication around adding styles.

@tpoliaw
tpoliaw requested a review from a team as a code owner December 12, 2025 16:15
@tpoliaw
tpoliaw force-pushed the align-terminal-logging branch from a8c3d84 to 3f871e5 Compare December 12, 2025 17:03
@tpoliaw tpoliaw changed the title Add padding to levelname in terminal logs refactor: Add padding to levelname in terminal logs Dec 12, 2025
@codecov

codecov Bot commented Dec 12, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.76%. Comparing base (8567f8e) to head (30a814c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1303   +/-   ##
=======================================
  Coverage   94.76%   94.76%           
=======================================
  Files          42       42           
  Lines        2751     2752    +1     
=======================================
+ Hits         2607     2608    +1     
  Misses        144      144           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tpoliaw
tpoliaw force-pushed the align-terminal-logging branch from 3f871e5 to cabda54 Compare January 5, 2026 11:19
It makes it easier to follow logs when the message part is aligned and
the level does not affect where the text starts.

The colouring method has been refactored at the same time to reduce the
duplication around adding styles.
@tpoliaw
tpoliaw force-pushed the align-terminal-logging branch from cabda54 to 30a814c Compare January 7, 2026 09:21
@tpoliaw
tpoliaw merged commit ca0b14b into main Jan 7, 2026
18 checks passed
@tpoliaw
tpoliaw deleted the align-terminal-logging branch January 7, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants