mirror of
https://github.com/bitwarden/server
synced 2025-12-25 12:43:14 +00:00
Changed all C# control flow block statements to include space between keyword and open paren
This commit is contained in:
@@ -18,13 +18,13 @@ namespace Bit.Billing
|
||||
logging.AddSerilog(hostingContext, e =>
|
||||
{
|
||||
var context = e.Properties["SourceContext"].ToString();
|
||||
if(e.Level == LogEventLevel.Information &&
|
||||
if (e.Level == LogEventLevel.Information &&
|
||||
(context.StartsWith("\"Bit.Billing.Jobs") || context.StartsWith("\"Bit.Core.Jobs")))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
if(e.Properties.ContainsKey("RequestPath") &&
|
||||
if (e.Properties.ContainsKey("RequestPath") &&
|
||||
!string.IsNullOrWhiteSpace(e.Properties["RequestPath"]?.ToString()) &&
|
||||
(context.Contains(".Server.Kestrel") || context.Contains(".Core.IISHttpServer")))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user