Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented May 27, 2025

Logs should be instanced. The caller can define where the logs go.

Updated trivy to include this merge: aquasecurity/trivy#8738

@Emyrk Emyrk requested a review from jaaydenh May 27, 2025 17:12
Comment on lines +99 to +102
logger := input.Logger
if logger == nil { // Default to discarding logs
logger = slog.New(slog.DiscardHandler)
}
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the change. We default to discarding logs

@Emyrk Emyrk merged commit ab173d3 into main May 27, 2025
3 checks passed
@Emyrk Emyrk deleted the stevenmasley/no_logs branch May 27, 2025 17:25
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