You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
695 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace StartServerWPF.Modules.Main.Models
{
public class LogMessageModel
{
public string LogType { get; set; }
public string AppName { get; set; }
public string State { get; set; }
public DateTime OriginTime { get; set; }
public string Message { get; set; }
public string Oprate { get; set; }
public override string ToString()
{
string str = $"{OriginTime.ToString("s")} {LogType} {AppName} {State} ";
return str;
}
}
}