Quantcast
Channel: User Simon_Weaver - Stack Overflow
Viewing all articles
Browse latest Browse all 116

Answer by Simon_Weaver for Log event datetime with.Net Core Console logger

$
0
0

Visual Studio / .AddDebug() not showing timestamps

If you're in Visual Studio and needing timestamps on debug logs (eg. logs from EF Core showing SQL) the only option AFAIK (since AddDebug has no arguments) is this handy little icon.

It will toggle timestamps on and off for future log entries.

Picture of Visual Studio output log with clock icon circled


Viewing all articles
Browse latest Browse all 116

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>