namespace IStation.Hydraulic
{
///
///
///
public class Log
{
private static string ModeVerifyName = "ModeVerify";
///
/// 写入信息日志
///
///
///
///
public static void Info(long verifyId, string title, string info)
{
Yw.LogHelper.Custom(ModeVerifyName, GetLogInfo(verifyId, title, info));
}
///
/// 写入调试日志
///
///
///
///
public static void Debug(long verifyId, string title, string info)
{
Yw.LogHelper.Custom(ModeVerifyName, (GetLogInfo(verifyId, title, info)));
}
///
///
///
///
///
///
///
private static string GetLogInfo(long verifyId, string title, string info)
{
return $"{verifyId}-{title} >> {info}";
}
}
}