Skip to content

Conversation

@HugoRCD
Copy link
Owner

@HugoRCD HugoRCD commented Jan 31, 2026

🔗 Linked issue

Resolves #14

📚 Description

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@HugoRCD HugoRCD self-assigned this Jan 31, 2026
@HugoRCD HugoRCD requested a review from Copilot January 31, 2026 14:01
@vercel
Copy link

vercel bot commented Jan 31, 2026

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

Project Deployment Actions Updated (UTC)
evlog-docs Ready Ready Preview, Comment Jan 31, 2026 2:02pm

@github-actions
Copy link

Thank you for following the naming conventions! 🙏

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 31, 2026

npm i https://pkg.pr.new/evlog@22

commit: 8de8607

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds an exclude option to the evlog module, allowing users to exclude specific route patterns from logging. This resolves issue #14, which requested the ability to filter out noisy routes like Nuxt Icon requests.

Changes:

  • Added exclude option to module interface with glob pattern support
  • Implemented exclusion logic in the Nitro plugin where exclusions take precedence over inclusions
  • Added comprehensive test coverage for the new filtering logic
  • Updated documentation with examples and usage guidelines

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
packages/evlog/src/nuxt/module.ts Adds exclude option to ModuleOptions interface with JSDoc documentation
packages/evlog/src/nitro/plugin.ts Updates EvlogConfig interface and shouldLog function to implement exclusion logic
packages/evlog/test/utils.test.ts Adds comprehensive test suite covering all filtering scenarios including edge cases
apps/docs/content/1.getting-started/2.installation.md Documents the new feature with examples and explains precedence rules

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@HugoRCD HugoRCD merged commit 8e4d810 into main Jan 31, 2026
19 checks passed
@HugoRCD HugoRCD deleted the feat/exclude-option branch January 31, 2026 14:10
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.

[feature] add exclude: [] or include negation

2 participants