Skip to content

fix(logging): rename isEventEnabled to shouldLogEvent#274

Closed
Alexteens24 wants to merge 1 commit into
OpenVdra:mainfrom
Alexteens24:fix/logging-should-log-event
Closed

fix(logging): rename isEventEnabled to shouldLogEvent#274
Alexteens24 wants to merge 1 commit into
OpenVdra:mainfrom
Alexteens24:fix/logging-should-log-event

Conversation

@Alexteens24

@Alexteens24 Alexteens24 commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Rename LoggingConfig.isEventEnabled() to shouldLogEvent() with intuitive semantics (enabled && enabledEvents.contains(eventType)), matching DiscordWebhookConfig.
  • Update SpawnerActionLogger guards to use the new method.

Replaces the closed #273 with a minimal, focused change.

…ntics

Align LoggingConfig with DiscordWebhookConfig: the method now returns true
when an event should be logged, preventing confusion from the inverted name.

Co-authored-by: Cursor <[email protected]>
@ptthanh02 ptthanh02 closed this Jun 24, 2026
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