Skip to content

Commit

Permalink
Automatically linting code
Browse files Browse the repository at this point in the history
  • Loading branch information
rsg-bot authored May 3, 2024
1 parent 2762694 commit 4f011d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions src/Hosting/Conventions/SerilogHostingConvention.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Rocket.Surgery.Conventions;
using Rocket.Surgery.Conventions.Logging;
using Rocket.Surgery.Hosting;
using Rocket.Surgery.LaunchPad.Serilog;
using Serilog;
Expand Down Expand Up @@ -85,4 +84,4 @@ public void Register(IConventionContext context, IHostApplicationBuilder builder
)
);
}
}
}
5 changes: 1 addition & 4 deletions src/Serilog/Conventions/ConfigureOptionsLoggingConvention.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Rocket.Surgery.Conventions;
using Rocket.Surgery.Conventions.Logging;
using Serilog;

namespace Rocket.Surgery.LaunchPad.Serilog.Conventions;
Expand Down Expand Up @@ -46,5 +44,4 @@ LoggerConfiguration loggerConfiguration
post.PostConfigure(Options.DefaultName, loggerConfiguration);
}
}
}

}
2 changes: 1 addition & 1 deletion src/Serilog/LaunchPadLoggingOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ public class LaunchPadLoggingOptions
/// Base option from the serilog package
/// </summary>
public bool PreserveStaticLogger { get; set; }
}
}

0 comments on commit 4f011d5

Please sign in to comment.