File tree Expand file tree Collapse file tree
src/BuildingBlocks/EventBus/EventBusServiceBus Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public void Publish(IntegrationEvent @event)
6161 public void SubscribeDynamic < TH > ( string eventName )
6262 where TH : IDynamicIntegrationEventHandler
6363 {
64- _logger . LogInformation ( "Subscribing to dynamic event {EventName} with {EventHandler}" , eventName , nameof ( TH ) ) ;
64+ _logger . LogInformation ( "Subscribing to dynamic event {EventName} with {EventHandler}" , eventName , typeof ( TH ) . Name ) ;
6565
6666 _subsManager . AddDynamicSubscription < TH > ( eventName ) ;
6767 }
@@ -89,7 +89,7 @@ public void Subscribe<T, TH>()
8989 }
9090 }
9191
92- _logger . LogInformation ( "Subscribing to event {EventName} with {EventHandler}" , eventName , nameof ( TH ) ) ;
92+ _logger . LogInformation ( "Subscribing to event {EventName} with {EventHandler}" , eventName , typeof ( TH ) . Name ) ;
9393
9494 _subsManager . AddSubscription < T , TH > ( ) ;
9595 }
You can’t perform that action at this time.
0 commit comments