去掉专门和中控通信的日志记录器

master
lhiven 1 year ago
parent 0214fddc04
commit d44f4f108f

@ -14,7 +14,6 @@ namespace Rs.Framework
private static readonly ILog logingo = LogManager.GetLogger("Info"); private static readonly ILog logingo = LogManager.GetLogger("Info");
private static readonly ILog logwarning = LogManager.GetLogger("Warning"); private static readonly ILog logwarning = LogManager.GetLogger("Warning");
private static readonly ILog logmove = LogManager.GetLogger("Move"); private static readonly ILog logmove = LogManager.GetLogger("Move");
private static readonly ILog logTestCenter = LogManager.GetLogger("TestCenter");
public static void Error(string content) { logerror.Error(content);} public static void Error(string content) { logerror.Error(content);}
@ -70,20 +69,5 @@ namespace Rs.Framework
logmove.Info(content, ex); logmove.Info(content, ex);
} }
} }
public static void TestCenterLog(string content)
{
if (logTestCenter.IsInfoEnabled)
{
logTestCenter.Info(content);
}
}
public static void TestCenterLog(string content, Exception ex)
{
if (logTestCenter.IsInfoEnabled)
{
logTestCenter.Info(content, ex);
}
}
} }
} }

Loading…
Cancel
Save