Skip to content

Commit f0698ce

Browse files
committed
Add logging of what permissions are excluded
1 parent b8442f4 commit f0698ce

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

DevProxy.Plugins/Reporting/MinimalPermissionsGuidancePlugin.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,11 @@ public override async Task AfterRecordingStopAsync(RecordingArgs e, Cancellation
173173
ExcludedPermissions = Configuration.PermissionsToExclude
174174
};
175175

176+
if (Configuration.PermissionsToExclude?.Any() == true)
177+
{
178+
Logger.LogInformation("Excluding the following permissions: {Permissions}", string.Join(", ", Configuration.PermissionsToExclude));
179+
}
180+
176181
StoreReport(report, e);
177182

178183
Logger.LogTrace("Left {Name}", nameof(AfterRecordingStopAsync));

0 commit comments

Comments
 (0)