Skip to content

Commit 0646c2d

Browse files
Don't add timestamp when logging to the VS activity log
1 parent f761a2d commit 0646c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Razor/src/Microsoft.VisualStudio.LanguageServices.Razor/Logging/ActivityLogLoggerProvider.Logger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public void Log(LogLevel logLevel, string message, Exception? exception)
3434
string GetLogMessage(string message, Exception? exception)
3535
{
3636
using var _ = StringBuilderPool.GetPooledObject(out var builder);
37-
builder.Append($"{DateTime.Now:h:mm:ss.fff} [{_categoryName}] {message}");
37+
builder.Append($"[{_categoryName}] {message}");
3838

3939
if (exception is not null)
4040
{

0 commit comments

Comments
 (0)