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.
|
|
|
|
using MaterialTraceability.Common;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace MaterialTraceability.Business
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 日志业务类
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class LogHelperBusiness
|
|
|
|
|
{
|
|
|
|
|
public static void LogInfo(string message)
|
|
|
|
|
{
|
|
|
|
|
LogHelper.Info(message);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static void LogError(string message,Exception ex = null)
|
|
|
|
|
{
|
|
|
|
|
LogHelper.Error(message, ex);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static void ViewLog(string message)
|
|
|
|
|
{
|
|
|
|
|
LogHelper.ViewLog(message);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|