Skip to content

Comments

simplify ECLog switch statement#165

Open
wazazaby wants to merge 1 commit intoSparkPost:masterfrom
wazazaby:chore/syntax
Open

simplify ECLog switch statement#165
wazazaby wants to merge 1 commit intoSparkPost:masterfrom
wazazaby:chore/syntax

Conversation

@wazazaby
Copy link

@wazazaby wazazaby commented Sep 2, 2022

Note

Refactor: simplify ECLog

  • Replaces the explicit type switch in ECLog with an ECLogger interface assertion and delegation to ECLog() when implemented; otherwise returns empty string
  • Introduces/uses ECLogger interface (ECLog() string) for event-specific logging

Written by Cursor Bugbot for commit 91b940e. This will update automatically on new commits. Configure here.

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.

1 participant