Log event datetime with.Net Core Console logger : <p>I'm using logging to Console output, that built-in to .Net Core framework.
Here initialization of the logger:</p>

<pre><code>var serviceCollection = new ServiceCollection();
serviceCollection.AddSingleton(new LoggerFactory()
                    .AddConsole());
</code></pre>

<p>Also for logging I'm using <code>Microsoft.Extensions.Logging.LoggerExtension</code>s class with methods <code>Log...</code>
Here an example of logging in my App:</p>

<pre><code>_logger.LogInformation(eventId, "Action is started.");
</code></pre>

<p>Where <code>_logger</code> is instance of <code>ILogger&lt;T&gt;</code> class and initialized in the class constructor with built-in dependency injection.
As result of calling of the above method Console output shows following string:</p>

<pre><code>info: NameSpaceName.ClassName[eventId] Action is started.
</code></pre>

<p>I would like to display date-time in the Console output, that points to time, when the Log method is executed, but it seems that Log.. methods don't contain any methods that allow to display date time.</p>

<p>Does it exist some method or additioanl classes-formatters that allow to display the action datetime in console output without passing it to the method as part of the message?</p>
