Skip to content

feat: add logger import and initialize logger in v4_scan template#907

Open
wakonig wants to merge 1 commit into
mainfrom
feat/add_logger
Open

feat: add logger import and initialize logger in v4_scan template#907
wakonig wants to merge 1 commit into
mainfrom
feat/add_logger

Conversation

@wakonig
Copy link
Copy Markdown
Member

@wakonig wakonig commented May 21, 2026

Description

Adding the logger to the scan template.

Copilot AI review requested due to automatic review settings May 21, 2026 18:01
Copy link
Copy Markdown
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 updates the v4 scan Jinja template used by the plugin manager so newly generated v4 scan implementations come with a pre-initialized module-level logger.

Changes:

  • Add bec_logger import to the v4 scan template.
  • Initialize a module-level logger = bec_logger.logger in the generated scan module.

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

@codecov
Copy link
Copy Markdown

codecov Bot commented May 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@wakonig wakonig self-assigned this May 21, 2026
@wakonig wakonig requested a review from a team May 21, 2026 19:32
@wakonig wakonig enabled auto-merge (rebase) May 22, 2026 12:10
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