Skip to content

Commit

Permalink
Undo ef core changes. (#1152)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-zimerman authored Aug 5, 2021
1 parent 93ad26a commit fb2372a
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 475 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## Unreleased

### Features
### Fixes

- EF Core performance monitoring ([#1112](https://github.com/getsentry/sentry-dotnet/pull/1112))
### Features

### Fixes

Expand Down
7 changes: 0 additions & 7 deletions Sentry.sln
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sentry.Tunnel", "src\Sentry
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sentry.Tunnel.Tests", "test\Sentry.Tunnel.Tests\Sentry.Tunnel.Tests.csproj", "{BB54EF08-2FA1-498B-827B-32D905FB0F9F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sentry.Extensions.Logging.EfCore.Tests", "test\Sentry.Extensions.Logging.EfCore.Tests\Sentry.Extensions.Logging.EfCore.Tests.csproj", "{0547A8D6-FE06-424F-979D-0FFA7CCE6E6D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -303,10 +301,6 @@ Global
{BB54EF08-2FA1-498B-827B-32D905FB0F9F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BB54EF08-2FA1-498B-827B-32D905FB0F9F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BB54EF08-2FA1-498B-827B-32D905FB0F9F}.Release|Any CPU.Build.0 = Release|Any CPU
{0547A8D6-FE06-424F-979D-0FFA7CCE6E6D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0547A8D6-FE06-424F-979D-0FFA7CCE6E6D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0547A8D6-FE06-424F-979D-0FFA7CCE6E6D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0547A8D6-FE06-424F-979D-0FFA7CCE6E6D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -355,7 +349,6 @@ Global
{066522A4-8380-4D29-8DD0-973B1EDF0B39} = {83263231-1A2A-4733-B759-EEFF14E8C5D5}
{D2F8BF0E-7749-4C92-A4F1-7B96A9878458} = {AF6AF4C7-8AA2-4D59-8064-2D79560904EB}
{BB54EF08-2FA1-498B-827B-32D905FB0F9F} = {83263231-1A2A-4733-B759-EEFF14E8C5D5}
{0547A8D6-FE06-424F-979D-0FFA7CCE6E6D} = {83263231-1A2A-4733-B759-EEFF14E8C5D5}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {0C652B1A-DF72-4EE5-A98B-194FE2C054F6}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="4.5.0"/>
<PackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="2.1.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="2.1.0" />
</ItemGroup>
Expand Down
35 changes: 0 additions & 35 deletions src/Sentry.Extensions.Logging/SentryDiagnosticSubscriber.cs

This file was deleted.

147 changes: 0 additions & 147 deletions src/Sentry.Extensions.Logging/SentryEFCoreListener.cs

This file was deleted.

3 changes: 0 additions & 3 deletions src/Sentry.Extensions.Logging/SentryLoggerProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public class SentryLoggerProvider : ILoggerProvider
private readonly SentryLoggingOptions _options;
private readonly IDisposable? _scope;
private readonly IDisposable? _disposableHub;
private readonly IDisposable? _diagnosticListener;

internal IHub Hub { get; }

Expand Down Expand Up @@ -70,7 +69,6 @@ internal SentryLoggerProvider(
{
hub.ConfigureScope(callback);
}
_diagnosticListener = DiagnosticListener.AllListeners.Subscribe(new SentryDiagnosticSubscriber(hub, options));
}
}

Expand All @@ -88,7 +86,6 @@ public void Dispose()
{
_scope?.Dispose();
_disposableHub?.Dispose();
_diagnosticListener?.Dispose();
}
}
}
Loading

0 comments on commit fb2372a

Please sign in to comment.