Exception thrown: 'System.NullReferenceException' in ReflectSoftware.Insight.Extensions.NLog.dll
at ReflectSoftware.Insight.Extensions.NLog.NLogTarget.SendMessage(ActiveStates states, MessageType mType, LogEventInfo logEvent)
and after this exception another exception occur:
Exception thrown: 'System.Security.SecurityException' in mscorlib.dll
Additional information: Requested registry access is not allowed.
Code to reproduce:
private readonly Logger _logger = LogManager.GetCurrentClassLogger();
dynamic t = JObject.Parse(@"{
""price"": 11190.0,
""amount"": 0.43422189,
""datetime"": ""1517049417"",
""id"": 844079167,
""order_type"": 0
}");
_logger.Trace(t);
Libraries used:
Nlog 4.4.12
Newtonsoft.Json 10.0.0.3
ReflectSoftware.Insight.Extensions.NLog 5.7.1
Exception thrown: 'System.NullReferenceException' in ReflectSoftware.Insight.Extensions.NLog.dll
at ReflectSoftware.Insight.Extensions.NLog.NLogTarget.SendMessage(ActiveStates states, MessageType mType, LogEventInfo logEvent)
and after this exception another exception occur:
Exception thrown: 'System.Security.SecurityException' in mscorlib.dll
Additional information: Requested registry access is not allowed.
Code to reproduce:
Libraries used:
Nlog 4.4.12
Newtonsoft.Json 10.0.0.3
ReflectSoftware.Insight.Extensions.NLog 5.7.1