Beispiel #1
0
 public LoggingException(LoggingDeserializeContext context)
 {
     Message    = context.br.ReadNullableString();
     StackTrace = context.br.ReadNullableString();
     HelpLink   = context.br.ReadNullableString();
     Source     = context.br.ReadNullableString();
 }
        public LoggingEntry(Guid id, LoggingDeserializeContext context)
        {
            Id       = id;
            LogLevel = (LogLevel)context.br.ReadByte();
            EventId  = new EventId(context.br.ReadInt32(), context.br.ReadNullableString());
            Message  = context.br.ReadNullableString();

            if (context.br.ReadBoolean())
            {
                Exception = new LoggingException(context);
            }
        }