We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e98241 commit 775cacfCopy full SHA for 775cacf
1 file changed
src/SqlStreamStore.Server/Program.cs
@@ -4,6 +4,7 @@
4
using System.Threading.Tasks;
5
using Microsoft.AspNetCore.Hosting;
6
using Serilog;
7
+using Serilog.Events;
8
using SqlStreamStore.HAL;
9
10
namespace SqlStreamStore.Server
@@ -31,7 +32,7 @@ private Program(SqlStreamStoreServerConfiguration configuration)
31
32
Log.Logger = new LoggerConfiguration()
33
.MinimumLevel.Is(configuration.LogLevel)
34
.Enrich.FromLogContext()
- .WriteTo.Console()
35
+ .WriteTo.Console(outputTemplate: "[{Timestamp:HH:mm:ss} {Level:u3}] [{SourceContext}] {Message:lj}{NewLine}{Exception}")
36
.CreateLogger();
37
38
Log.Information(configuration.ToString());
0 commit comments