IOT纯后端项目改造
This commit is contained in:
@@ -22,6 +22,14 @@ namespace Logger
|
||||
}
|
||||
|
||||
Logger.Error(message);
|
||||
}
|
||||
public static void Info(string message)
|
||||
{
|
||||
Logger.Info(message);
|
||||
}
|
||||
public static void Warn(string message)
|
||||
{
|
||||
Logger.Warn(message);
|
||||
}
|
||||
// 解析堆栈,找到项目文件路径和行号
|
||||
public static string GetProjectStackLine(string stackTrace)
|
||||
|
||||
Reference in New Issue
Block a user