Skip to content

Conversation

thebrianchen
Copy link
Contributor

@thebrianchen thebrianchen commented Aug 25, 2025

Adding local only base logger to v5. No new logic, everything is a direct port from account-kit/logger.

Pull Request Checklist


PR-Codex overview

This PR introduces a logging system with a no-operation logger and a local logger that outputs events to the console in development mode. It also includes type-safe event tracking and performance profiling capabilities.

Detailed summary

  • Added noopLogger for fallback logging.
  • Implemented createLocalLogger for local-only logging in dev mode.
  • Introduced isClientDevMode to detect development environments.
  • Enhanced createLogger to support profiling of synchronous and asynchronous functions.
  • Defined EventsSchema, TrackEventParameters, and EventLogger types for type-safe event tracking.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Aug 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
aa-sdk-ui-demo Ready Ready Preview Comment Aug 25, 2025 9:56pm

Copy link

github-actions bot commented Aug 25, 2025

🌿 Documentation Preview

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Aug 25, 2025, 9:55 PM

@github-actions github-actions bot temporarily deployed to docs-preview August 25, 2025 21:54 Inactive
@thebrianchen thebrianchen merged commit af347e0 into moldy/v5-base Aug 26, 2025
9 of 11 checks passed
@thebrianchen thebrianchen deleted the bc/base-logger branch August 26, 2025 18:37
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