Skip to content

Commit

Permalink
docs: Deprecate AddGlobalEventProcessor (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhcarvalho authored Jul 20, 2020
1 parent 713c600 commit 797941c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ var globalEventProcessors []EventProcessor

// AddGlobalEventProcessor adds processor to the global list of event
// processors. Global event processors apply to all events.
//
// Deprecated: Use Scope.AddEventProcessor or Client.AddEventProcessor instead.
func AddGlobalEventProcessor(processor EventProcessor) {
globalEventProcessors = append(globalEventProcessors, processor)
}
Expand Down

0 comments on commit 797941c

Please sign in to comment.