using System;
using System.Windows.Forms;
namespace EC.AutoWeightServer.UI.Base
{
public partial class FrmBase : Form
{
public FrmBase()
{
InitializeComponent();
}
#region 日志
///
/// Debug 日志
///
///
public void LogDebug(string message)
{
LogUnit.Debug(this.GetType(), message);
}
///
/// Info 日志
///
///
public void LogInfo(string message)
{
LogUnit.Info(this.GetType(), message);
}
///
/// Error 日志
///
///
public void LogError(string message)
{
LogUnit.Error(this.GetType(), message);
}
///
/// Debug 日志
///
///
public void LogDebug(Exception ex)
{
LogUnit.Debug(this.GetType(), ex);
}
///
/// Info 日志
///
///
public void LogInfo(Exception ex)
{
LogUnit.Info(this.GetType(), ex);
}
///
/// Error 日志
///
///
public void LogError(Exception ex)
{
LogUnit.Error(this.GetType(), ex);
}
#endregion 日志
}
}