Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: smoother logging when building pages #9487

Merged
merged 4 commits into from
Dec 20, 2023
Merged

Conversation

ematipico
Copy link
Member

Changes

Closes #9335

I added a new option to the logger, that allows us to not add a new line at the end of a logging message.

This becomes useful when we build the pages, so we can log the page we are about to build, and then append the timing at the end.

Testing

I used the docs repo to test it. Here's a small video

Logging.mov

Docs

N/A

Copy link

changeset-bot bot commented Dec 20, 2023

🦋 Changeset detected

Latest commit: af4081c

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) pr: docs A PR that includes documentation for review labels Dec 20, 2023
ematipico and others added 2 commits December 20, 2023 13:15
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
@Princesseuh
Copy link
Member

That looks really good Ema, awesome work

@ematipico ematipico merged commit 19169db into main Dec 20, 2023
13 checks passed
@ematipico ematipico deleted the chore/better-build-logging branch December 20, 2023 16:48
@astrobot-houston astrobot-houston mentioned this pull request Dec 20, 2023
@bluwy bluwy mentioned this pull request Mar 15, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope) pr: docs A PR that includes documentation for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SSG console prints _after_ page generation, preventing from debugging
4 participants