mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Few Fixes
This commit is contained in:
1 parent
7df378d794
commit
ceca8fc057
5 files changed
+11
-8
No files matched your search
@@ -79,7 +79,7 @@ class EndpointsApi extends ApiController{
|
||||
foreach ($deviceLogs as $log) {
|
||||
$logManager = new LogManager('../logs/devices/'. date("Y-m-d").'.log');
|
||||
$logManager->setLevel(LOGLEVEL);
|
||||
$logManager->write("[Device Log Msg] Device_ID " . $deviceId . "->" . $log, LogRecordType::ERROR);
|
||||
$logManager->write("[Device Log Msg] Device_ID " . $deviceId . "->" . $log, LogRecordTypes::ERROR);
|
||||
unset($logManager);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user