My app is currently using Serilog version 1.5 for logging and we have decided to upgrade to Serilog 2.3.0. When upgrading am running into a compile time error for PermitCrossAppDomainCalls. Any ideas if the property is supported in Serilog v2.3?
Error Line: LogContext.PermitCrossAppDomainCalls = true;
Error Message 'Serilog.Context.LogContext' does not contain a definition for 'PermitCrossAppDomainCalls'
答案 0 :(得分:0)
Serilog 2.0不再需要此设置 - 它启用的功能将“正常工作”。您可以安全地删除对属性设置器的调用。