-
Hi all, question about using this sink. I am evaluating a migration to Serilog + Serilog-Sinks-MSSqlServer + M.E.L, injecting a In our current logs table, we have a column called I understand that this sink will allow me to define additional columns, but unlike an additional property like a user context id for ASP.NET logging, this value is read once when the application starts and never changes. Is it possible out of the box, perhaps by definining some sort of "default" value for the column, to specify an application-wide value for an additional column? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @Foxtrek64! The MSSQL sink currently does not support default values for columns if a corresponding property was not provided. You can take a look at the following possible solutions.
|
Beta Was this translation helpful? Give feedback.
Hi @Foxtrek64!
The MSSQL sink currently does not support default values for columns if a corresponding property was not provided. You can take a look at the following possible solutions.