Skip to content

feat(clerk-js,shared): Custom logger to enable logging once per session#3383

Merged
desiprisg merged 1 commit intomainfrom
custom_logger
May 22, 2024
Merged

feat(clerk-js,shared): Custom logger to enable logging once per session#3383
desiprisg merged 1 commit intomainfrom
custom_logger

Conversation

@desiprisg
Copy link
Copy Markdown
Contributor

Description

Without:
Screenshot 2024-05-15 at 11 54 35

With:
Screenshot 2024-05-15 at 11 55 09

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@desiprisg desiprisg requested review from brkalow and nikosdouvlis May 15, 2024 08:55
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 15, 2024

🦋 Changeset detected

Latest commit: 830aec4

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

This PR includes changesets to release 13 packages
Name Type
@clerk/clerk-js Patch
@clerk/shared Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch
@clerk/backend Patch
@clerk/elements Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/nextjs Patch
@clerk/clerk-react Patch
@clerk/remix Patch
@clerk/clerk-sdk-node Patch
@clerk/testing Patch

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

Comment thread packages/shared/src/logger.ts Outdated
Comment thread packages/shared/src/logger.ts
Comment thread packages/shared/src/logger.ts Outdated
Comment thread packages/shared/src/logger.ts Outdated
Copy link
Copy Markdown
Contributor

@LekoArts LekoArts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you add a new file to the shared package you'll need to adjust the https://github.com/clerk/javascript/blob/main/packages/shared/subpaths.mjs array and add logger to the files array of https://github.com/clerk/javascript/blob/main/packages/shared/package.json

Comment thread packages/shared/src/logger.ts
Copy link
Copy Markdown
Member

@brkalow brkalow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 let's add a JSDoc, otherwise LGTM!

Comment thread packages/shared/src/logger.ts
Comment thread packages/shared/src/logger.ts
Comment thread packages/shared/src/deprecated.ts Outdated
@desiprisg desiprisg force-pushed the custom_logger branch 2 times, most recently from ad7452b to 108d246 Compare May 22, 2024 08:53
@desiprisg desiprisg enabled auto-merge (squash) May 22, 2024 08:53
@desiprisg desiprisg merged commit ff31f72 into main May 22, 2024
@desiprisg desiprisg deleted the custom_logger branch May 22, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants