public JsonLoggingEventData(LoggingEvent loggingEvent)
 {
     LoggingEventData loggingEventData = loggingEvent.GetLoggingEventData();
     Domain = loggingEventData.Domain;
     ExceptionString = loggingEventData.ExceptionString;
     Identity = loggingEventData.Identity;
     Level = new JsonLevel(loggingEventData.Level);
     LocationInfo = new JsonLocationInfo(loggingEventData.LocationInfo);
     LoggerName = loggingEventData.LoggerName;
     Message = loggingEventData.Message;
     Properties = loggingEventData.Properties;
     ThreadName = loggingEventData.ThreadName;
     TimeStamp = loggingEventData.TimeStamp;
     UserName = loggingEventData.UserName;
 }
        public JsonLoggingEventData(LoggingEvent loggingEvent)
        {
            LoggingEventData loggingEventData = loggingEvent.GetLoggingEventData();

            Domain          = loggingEventData.Domain;
            ExceptionString = loggingEventData.ExceptionString;
            Identity        = loggingEventData.Identity;
            Level           = new JsonLevel(loggingEventData.Level);
            LocationInfo    = new JsonLocationInfo(loggingEventData.LocationInfo);
            LoggerName      = loggingEventData.LoggerName;
            Message         = loggingEventData.Message;
            Properties      = loggingEventData.Properties;
            ThreadName      = loggingEventData.ThreadName;
            TimeStamp       = loggingEventData.TimeStamp;
            UserName        = loggingEventData.UserName;
        }