Skip to content

Commit 882b821

Browse files
committed
Removed unneeded extension and updated the version prefix as requested.
1 parent 3f86602 commit 882b821

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

src/Serilog.Extensions.Logging/Serilog.Extensions.Logging.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Description>Serilog provider for Microsoft.Extensions.Logging</Description>
5-
<VersionPrefix>1.4.1</VersionPrefix>
5+
<VersionPrefix>2.0.0</VersionPrefix>
66
<Authors>Microsoft;Serilog Contributors</Authors>
77
<TargetFrameworks>net45;net46;netstandard1.3;netstandard2.0</TargetFrameworks>
88
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

src/Serilog.Extensions.Logging/SerilogLoggerServicesExtensions.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,6 @@ namespace Serilog
1212
/// </summary>
1313
public static class SerilogLoggerServicesExtensions
1414
{
15-
/// <summary>
16-
/// Add Serilog to the logging pipeline.
17-
/// </summary>
18-
/// <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add services to.</param>
19-
/// <param name="logger">The Serilog logger; if not supplied, the static <see cref="Serilog.Log"/> will be used.</param>
20-
/// <returns>The logger factory.</returns>
21-
[EditorBrowsable(EditorBrowsableState.Never)]
22-
public static IServiceCollection AddSerilog(this IServiceCollection services, ILogger logger)
23-
{
24-
if (services == null) throw new ArgumentNullException(nameof(services));
25-
26-
return services.AddSerilog(logger, false);
27-
}
28-
2915
/// <summary>
3016
/// Add Serilog to the logging pipeline.
3117
/// </summary>

0 commit comments

Comments
 (0)