I\'m using logging to Console output, that built-in to .Net Core framework. Here initialization of the logger:
var serviceCollection = new ServiceCollection(); s
The feature was added into version 3 of the Microsoft.Extensions.Logging.Console(here is the pr). You can activate this with setting the TimestampFormat:
TimestampFormat
new ServiceCollection() .AddLogging(opt => { opt.AddConsole(c => { c.TimestampFormat = "[HH:mm:ss] "; }); })