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.

36 lines
817 B
C#

using GuideScreen.Common.Common;
using CVDEMCS.Common.DI;
using System;
namespace CVDEMCS.Services
{
/// <summary>
/// 日志服务 接口
/// </summary>
public interface ILogService : IDependency
{
string LogDirectory { get; }
void ClearAgoDays(int day);
void Debug(string msg, Exception err);
void Debug(string msg, params object[] args);
void Error(string msg, Exception err);
void Error(string msg, params object[] args);
void Fatal(string msg, Exception err);
void Fatal(string msg, params object[] args);
void Info(string msg, Exception err);
void Info(string msg, params object[] args);
void Trace(string msg, Exception err);
void Trace(string msg, params object[] args);
}
}