Repository navigation
feat(landing): Pino logger guide #1573
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
Merged
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
da786cf
feat(landing): New Relic pricing guide
JeremyFunk 5f6b6b0
feat(landing): Sentry pricing guide
JeremyFunk ddd0948
fix(landing): list the New Relic pricing guide with the core guides
JeremyFunk e4b98a2
feat(landing): rework the New Relic pricing guide
JeremyFunk 2723d2a
feat(landing): revise the Sentry pricing guide
JeremyFunk 0cf71c7
feat(landing): Pino logger for Node.js guide
JeremyFunk 933a0ca
fix(landing): pino guide pretty-prints only in development, redacts a…
JeremyFunk ccd7bb6
fix(landing): keep unspecified-severity logs and fill the guides grid…
JeremyFunk 6c15db9
feat(landing): rework the Pino logger guide around the path of a log …
JeremyFunk 92b2cb3
fix(landing): say whether each price is per month, and drop the billi…
JeremyFunk 23d7823
fix(landing): say whether each price is per month, and drop the billi…
JeremyFunk 8a8a4e4
fix(landing): point the Sentry plan table at the usage rates and intr…
JeremyFunk c4d9540
feat(landing): add the Pino logger guide screenshots
JeremyFunk bc2bdb2
feat(landing): add the Sentry pricing guide screenshots
JeremyFunk 4fcc639
fix(landing): explain New Relic user types up front and say every pri…
JeremyFunk ca99803
fix(landing): pino guide defaults to TypeScript and shows npm, pnpm a…
JeremyFunk 0b4aa6a
feat(landing): Python logging levels guide
JeremyFunk 2a38eeb
fix(landing): replace the telemetry LoggingHandler instead of adding …
JeremyFunk 6948b44
feat(landing): rework the Python logging levels guide
JeremyFunk f9bfd85
feat(landing): add the Python logging levels guide screenshots
JeremyFunk 16961c2
feat(landing): simplify the Python logging levels guide
JeremyFunk ebdb7f3
feat(landing): Loguru for Python guide
JeremyFunk 18b92b4
fix(landing): build the enqueue queue on the pool's start method in t…
JeremyFunk de3e483
feat(landing): rework the Loguru guide around the path of a record to…
JeremyFunk cd857e0
feat(landing): add the Loguru guide screenshots
JeremyFunk c5bcfcb
feat(landing): simplify the Loguru guide for first-time readers
JeremyFunk 7b8c601
feat(landing): self-contained OpenTelemetry setup in the Python loggi…
JeremyFunk ddba946
feat(landing): self-contained OpenTelemetry setup in the Loguru guide
JeremyFunk 786e927
Merge remote-tracking branch 'origin/main' into feat/guide-python-log…
JeremyFunk c5ff1c7
Merge remote-tracking branch 'origin/main' into feat/guide-python-log…
JeremyFunk 3e7c5ed
chore(landing): combined guide highlighter languages
JeremyFunk 00e551a
Merge branch 'feat/guide-python-logging-levels' into feat/guide-loguru
JeremyFunk a59fb7e
Merge branch 'feat/guide-loguru' into feat/guide-sentry-pricing
JeremyFunk 80e23be
Merge branch 'feat/guide-sentry-pricing' into feat/guide-new-relic-pr…
JeremyFunk dfde6da
Merge branch 'feat/guide-new-relic-pricing' into feat/guide-pino-logger
JeremyFunk 5ff2a0f
fix(landing): guides index entry braces after merge
JeremyFunk 1d69275
fix(landing): guides index entry braces after merge
JeremyFunk ff5652c
fix(landing): guides index entry braces after merge
JeremyFunk 52ac3c0
Merge branch 'feat/guide-sentry-pricing' into feat/guide-new-relic-pr…
JeremyFunk cb0995d
Merge branch 'feat/guide-new-relic-pricing' into feat/guide-pino-logger
JeremyFunk c72b723
Merge remote-tracking branch 'origin/main' into feat/guide-pino-logger
JeremyFunk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+22.3 KB
apps/landing/public/screenshots/guides/pino-logger-02-log-detail.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| --- | ||
| // An npm install command with pnpm and bun twins, in a package-manager switcher | ||
| // that shares its remembered pick with the docs' install blocks. | ||
| // `variants` overrides the conversion for commands it can't handle (npx, pipes). | ||
| import LanguageTabs from "./LanguageTabs.astro"; | ||
| import LanguageTab from "./LanguageTab.astro"; | ||
| import { installVariants } from "../../lib/remark-install-tabs.mjs"; | ||
| import { highlight } from "../../lib/guide-highlight"; | ||
|
|
||
| interface Props { | ||
| command?: string; | ||
| variants?: Array<{ id: string; value: string }>; | ||
| } | ||
|
|
||
| const { command = "", variants = installVariants(command)?.variants ?? [{ id: "npm", value: command }] } = Astro.props; | ||
| --- | ||
|
|
||
| <LanguageTabs label="Package manager" group="maple-docs-js-package-manager" tabs={variants.map(({ id }) => ({ id, label: id }))}> | ||
| {variants.map((v) => ( | ||
| <LanguageTab id={v.id}> | ||
| <pre><code set:html={highlight(v.value, "shell")} /></pre> | ||
| </LanguageTab> | ||
| ))} | ||
| </LanguageTabs> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Fill the final card at the
xlbreakpoint.coreGuidesnow has seven entries. Atxl, the grid has three columns, but the existing odd-count rule only appliesmd:col-span-2. The Pino card therefore spans two columns and leaves one empty cell. Addxl:col-span-3to preserve the intended full-width final card.Proposed fix
🤖 Prompt for AI Agents