Skip to content

Commit b9ee6ed

Browse files
authored
Merge branch 'master' into feature/benchmarks-improvements
2 parents 3910b26 + 50e7f43 commit b9ee6ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/EntityFrameworkCore.Triggered/TriggerSession.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ public async Task RaiseTriggers(Type openTriggerType, ITriggerContextDiscoverySt
7676
{
7777
cancellationToken.ThrowIfCancellationRequested();
7878

79-
if (_logger.IsEnabled(LogLevel.Information))
80-
{
81-
_logger.LogInformation("Invoking trigger: {trigger} as {triggerType}", triggerInvocation.triggerDescriptor.GetType().Name, triggerInvocation.triggerDescriptor.TypeDescriptor.TriggerType.Name);
82-
}
79+
if (_logger.IsEnabled(LogLevel.Information))
80+
{
81+
_logger.LogInformation("Invoking trigger: {trigger} as {triggerType}", triggerInvocation.triggerDescriptor.Trigger.GetType().Name, triggerInvocation.triggerDescriptor.TypeDescriptor.TriggerType.Name);
82+
}
8383

8484
await triggerInvocation.triggerDescriptor.Invoke(triggerInvocation.triggerContextDescriptor.GetTriggerContext(), cancellationToken).ConfigureAwait(false);
8585
}

0 commit comments

Comments
 (0)