You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@304NotModified Do I need to read into this (IObjectHandle )?
No idea. Can just see that it is the official hack for handling object-sharing across AppDomains. Instead of activating the remoting-serialization for accross-process-communication (Not a remoting or callcontext guru).
Created NLog/NLog#2857 and used the medium-trust test to show that it explodes when given complex objects (But ObjectHandle fixes it).
Consider adding support for ObjectHandle in NLog (With Unwrap), instead of the ToString-hack used in #232:
https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.Current.net45.cs
If NLog supports ObjectHandle with Unwrap, then this silly code can be removed:
NLog.Extensions.Logging/src/NLog.Extensions.Logging/Logging/NLogBeginScopeParser.cs
Lines 55 to 58 in 197deb1
Maybe something like this:
This will also make NLog more user-friendly for others using MDLC and NDLC
The text was updated successfully, but these errors were encountered: