mirror of
https://gitee.com/iioter/iotgateway.git
synced 2024-11-29 18:28:09 +08:00
驱动加载日志等级
This commit is contained in:
parent
56e4a0377a
commit
1e11ba2ef9
@ -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;
|
||||
|
@ -132,7 +132,7 @@ namespace Plugin
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogDebug($"LoadAllDrivers Error {ex}");
|
||||
_logger.LogError(ex,$"LoadAllDrivers Error {file}");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user