驱动加载日志等级

This commit is contained in:
iioter 2023-05-05 15:32:37 +08:00
parent 56e4a0377a
commit 1e11ba2ef9
2 changed files with 3 additions and 3 deletions

View File

@ -33,8 +33,8 @@ namespace CNC.Fanuc.H
public DeviceFanuc(string device, ILogger logger)
{
//输入授权码,禁止非法使用
if (!Authorization.SetAuthorizationCode(""))
return;
//if (!Authorization.SetAuthorizationCode(""))
// return;
_device = device;
_logger = logger;

View File

@ -132,7 +132,7 @@ namespace Plugin
}
catch (Exception ex)
{
_logger.LogDebug($"LoadAllDrivers Error {ex}");
_logger.LogError(ex,$"LoadAllDrivers Error {file}");
}
}