Skip to content

Commit

Permalink
Add EventName EnabledParameters
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared committed Dec 4, 2024
1 parent a6abaef commit f9bc380
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion log/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,6 @@ func WithSchemaURL(schemaURL string) LoggerOption {

// EnabledParameters represents payload for [Logger]'s Enabled method.
type EnabledParameters struct {
Severity Severity
EventName string
Severity Severity
}

0 comments on commit f9bc380

Please sign in to comment.