Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Taillefer (from Dev Box) committed Jul 17, 2024
1 parent 71df064 commit 3a73735
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ public override void Write<TState>(in LogEntry<TState> logEntry, IExternalScopeP
return;
}

DateTimeOffset stamp = FormatterOptions.UseUtcTimestamp ? DateTimeOffset.UtcNow : DateTimeOffset.Now;
DateTimeOffset stamp = FormatterOptions.TimestampFormat != null
? (FormatterOptions.UseUtcTimestamp ? DateTimeOffset.UtcNow : DateTimeOffset.Now)
: DateTimeOffset.MinValue;

// We extract most of the work into a non-generic method to save code size. If this was left in the generic
// method, we'd get generic specialization for all TState parameters, but that's unnecessary.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,10 @@ static void WriteReplacing(TextWriter writer, string oldValue, string newValue,

private DateTimeOffset GetCurrentDateTime()
{
return FormatterOptions.UseUtcTimestamp ? DateTimeOffset.UtcNow : DateTimeOffset.Now;
}
return FormatterOptions.TimestampFormat != null
? (FormatterOptions.UseUtcTimestamp ? DateTimeOffset.UtcNow : DateTimeOffset.Now)
: DateTimeOffset.MinValue;
}

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build wasi-wasm linux Release LibraryTests_Smoke_AOT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm Debug AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Debug AllSubsets_Mono_LLVMJIT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-riscv64 Release AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build wasi-wasm linux Release LibraryTests_Smoke)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Debug AllSubsets_Mono_LLVMJIT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Release AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Release AllSubsets_Mono_LLVMAOT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build android-arm Release AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Release AllSubsets_Mono_LLVMJIT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Release AllSubsets_Mono_LLVMAOT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build maccatalyst-x64 Release AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Debug Mono_MiniJIT_LibrariesTests)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Debug Mono_MiniJIT_LibrariesTests)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Debug Mono_Interpreter_LibrariesTests)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build tvossimulator-x64 Debug AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build android-arm64 Release AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Debug AllSubsets_Mono_LLVMAOT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build tvos-arm64 Release AllSubsets_NativeAOT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build tvos-arm64 Release AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build ios-arm64 Release AllSubsets_NativeAOT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm Debug AllSubsets_CoreCLR_ReleaseRuntimeLibs)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build ios-arm64 Release AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Debug Mono_MiniJIT_LibrariesTests)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests_Threading)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests_EAT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests (Build browser-wasm linux release Runtime_Release)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm Debug AllSubsets_CoreCLR_ReleaseRuntimeLibs)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests_Smoke_AOT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Debug AllSubsets_CoreCLR)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-arm64 Debug AllSubsets_CoreCLR)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Debug AllSubsets_CoreCLR)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Debug CoreCLR_Libraries)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Debug CoreCLR_Libraries)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests (Build linux-x64 release Runtime_Release)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm64 Debug AllSubsets_CoreCLR_ReleaseRuntimeLibs)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Debug Libraries_CheckedCoreCLR)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests (Build osx-x64 release Runtime_Release)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Debug Libraries_CheckedCoreCLR)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Debug CoreCLR_Libraries)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 161 in src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build linux-x64 debug Libraries_AllConfigurations)

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs#L161

src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs(161,10): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

private static string GetLogLevelString(LogLevel logLevel)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ static void WriteReplacingNewLine(TextWriter writer, string message)

private DateTimeOffset GetCurrentDateTime()
{
return FormatterOptions.UseUtcTimestamp ? DateTimeOffset.UtcNow : DateTimeOffset.Now;
return FormatterOptions.TimestampFormat != null

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build wasi-wasm linux Release LibraryTests_Smoke_AOT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm Debug AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Debug AllSubsets_Mono_LLVMJIT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-riscv64 Release AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build wasi-wasm linux Release LibraryTests_Smoke)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Debug AllSubsets_Mono_LLVMJIT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Release AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Release AllSubsets_Mono_LLVMAOT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build android-arm Release AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Release AllSubsets_Mono_LLVMJIT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Release AllSubsets_Mono_LLVMAOT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build maccatalyst-x64 Release AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Debug Mono_MiniJIT_LibrariesTests)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Debug Mono_MiniJIT_LibrariesTests)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Debug Mono_Interpreter_LibrariesTests)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build tvossimulator-x64 Debug AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build android-arm64 Release AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Debug AllSubsets_Mono_LLVMAOT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build tvos-arm64 Release AllSubsets_NativeAOT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build tvos-arm64 Release AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build ios-arm64 Release AllSubsets_NativeAOT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm Debug AllSubsets_CoreCLR_ReleaseRuntimeLibs)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build ios-arm64 Release AllSubsets_Mono)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Debug Mono_MiniJIT_LibrariesTests)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests_Threading)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests_EAT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests (Build browser-wasm linux release Runtime_Release)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm Debug AllSubsets_CoreCLR_ReleaseRuntimeLibs)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests_Smoke_AOT)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Debug AllSubsets_CoreCLR)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-arm64 Debug AllSubsets_CoreCLR)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Debug AllSubsets_CoreCLR)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Debug CoreCLR_Libraries)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Debug CoreCLR_Libraries)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests (Build linux-x64 release Runtime_Release)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm64 Debug AllSubsets_CoreCLR_ReleaseRuntimeLibs)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Debug Libraries_CheckedCoreCLR)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests (Build osx-x64 release Runtime_Release)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Debug Libraries_CheckedCoreCLR)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Debug CoreCLR_Libraries)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)

Check failure on line 115 in src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build linux-x64 debug Libraries_AllConfigurations)

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs#L115

src/libraries/Microsoft.Extensions.Logging.Console/src/SystemdConsoleFormatter.cs(115,60): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)
? (FormatterOptions.UseUtcTimestamp ? DateTimeOffset.UtcNow : DateTimeOffset.Now)
: DateTimeOffset.MinValue;
}

private static string GetSyslogSeverityString(LogLevel logLevel)
Expand Down

0 comments on commit 3a73735

Please sign in to comment.