You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
425 B
26 lines
425 B
3 years ago
|
using DnsClient.Internal;
|
||
|
|
||
|
namespace ET
|
||
|
{
|
||
|
public static class RobotLog
|
||
|
{
|
||
|
private static readonly ILog logger = new NLogger("RobotConsole");
|
||
|
|
||
|
public static void Debug(string msg)
|
||
|
{
|
||
|
Log.Info(msg);
|
||
|
logger.Info(msg);
|
||
|
}
|
||
|
|
||
|
public static void Debug(string msg, params object[] args)
|
||
|
{
|
||
|
Log.Info(msg);
|
||
|
logger.Info(msg, args);
|
||
|
}
|
||
|
|
||
|
public static void Console(string msg)
|
||
|
{
|
||
|
logger.Info(msg);
|
||
|
}
|
||
|
}
|
||
|
}
|