使用通信模块前的提交
修改读取日志
This commit is contained in:
parent
c37f276314
commit
5e5817b8a4
@ -46,7 +46,9 @@ namespace Plane.Logging
|
|||||||
|
|
||||||
public override string ReadLog()
|
public override string ReadLog()
|
||||||
{
|
{
|
||||||
string text = File.ReadAllText(LogFilePath);
|
string text = "";
|
||||||
|
if (File.Exists(LogFilePath))
|
||||||
|
text = File.ReadAllText(LogFilePath);
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user