📄 loginfo.cs
字号:
namespace PowerEasy.Logging
{
using System;
public class LogInfo
{
private LogCategory m_Category;
private int m_LogId;
private string m_Message;
private string m_PostString;
private LogPriority m_Priority = LogPriority.Normal;
private string m_ScriptName;
private string m_Source;
private DateTime m_Timestamp = DateTime.MaxValue;
private string m_Title;
private string m_UserIP;
private string m_UserName;
public LogCategory Category
{
get
{
return this.m_Category;
}
set
{
this.m_Category = value;
}
}
public int LogId
{
get
{
return this.m_LogId;
}
set
{
this.m_LogId = value;
}
}
public string Message
{
get
{
return this.m_Message;
}
set
{
this.m_Message = value;
}
}
public string PostString
{
get
{
return this.m_PostString;
}
set
{
this.m_PostString = value;
}
}
public LogPriority Priority
{
get
{
return this.m_Priority;
}
set
{
this.m_Priority = value;
}
}
public string ScriptName
{
get
{
return this.m_ScriptName;
}
set
{
this.m_ScriptName = value;
}
}
public string Source
{
get
{
return this.m_Source;
}
set
{
this.m_Source = value;
}
}
public DateTime Timestamp
{
get
{
return this.m_Timestamp;
}
set
{
this.m_Timestamp = value;
}
}
public string Title
{
get
{
return this.m_Title;
}
set
{
this.m_Title = value;
}
}
public string UserIP
{
get
{
return this.m_UserIP;
}
set
{
this.m_UserIP = value;
}
}
public string UserName
{
get
{
return this.m_UserName;
}
set
{
this.m_UserName = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -