@@ -2820,15 +2820,15 @@ private static function processCameraData($eqCamera, $key, $data)
28202820 }
28212821
28222822 if (in_array ($ innerKey , $ objects )) {
2823- log::add ("frigateDetect " , 'debug ' , "╔═════════════════════════════ :b:START OBJET DETECT " . $ eqCamera ->getHumanName () . ":/b: ═══════════════════════════════════╗ " );
2823+ log::add ("frigateDetect " , 'info ' , "╔═════════════════════════════ :fg-success:START OBJET DETECT :/fg: ═══════════════════════════════════╗ " );
2824+ log::add ("frigateDetect " , 'info ' , '║ Equipement : :b: ' . $ $ eqCamera ->getHumanName () . ":/b: " );
28242825 log::add ("frigateDetect " , 'info ' , "║ Objet : " . $ innerKey . ', Etat : ' . json_encode ($ innerValue ));
28252826 // mise à jour pour la caméra
28262827 self ::handleObject ($ eqCamera , $ innerKey , $ innerValue );
2827- log::add (__CLASS__ , 'debug ' , "╚═══════════════════════════════════════════════════════════════════════════════════════════════╝ " );
28282828 // mise à jour pour l'équipement event
2829- log::add ("frigateDetect " , 'debug ' , " ╔═════════════════════════════ :b:START OBJET DETECT EQ EVENT :/b: ═══════════════════════════════════╗ " );
2829+ log::add ("frigateDetect " , 'info ' , ' ║ Equipement : :b: ' . $ $ eqCamera -> getHumanName () . " :/b: " );
28302830 self ::handleObject ($ eqEvent , $ innerKey , $ innerValue );
2831- log::add (__CLASS__ , 'debug ' , "╚═══════════ ════════════════════════════════════════════════════════════════════════════════════╝ " );
2831+ log::add (" frigateDetect " , 'info ' , "╚════════════════════════════════════════════════════════════════════════════════════╝ " );
28322832 continue ;
28332833 }
28342834
@@ -2854,15 +2854,15 @@ private static function processCameraData($eqCamera, $key, $data)
28542854 break ;
28552855
28562856 case 'all ' :
2857- log::add ("frigateDetect " , 'debug ' , "╔═════════════════════════════ :b:START ALL DETECT " . $ eqCamera ->getHumanName () . ":/b: ═══════════════════════════════════╗ " );
2857+ log::add ("frigateDetect " , 'info ' , "╔═════════════════════════════ :fg-success:START ALL DETECT :/fg: ═══════════════════════════════════╗ " );
2858+ log::add ("frigateDetect " , 'info ' , '║ Equipement : :b: ' . $ $ eqCamera ->getHumanName () . ":/b: " );
28582859 log::add ("frigateDetect " , 'info ' , '║ Objet : ' . $ innerKey . ', Etat : ' . json_encode ($ innerValue ));
28592860 // mise à jour pour la caméra
28602861 self ::handleAllObject ($ eqCamera , $ innerKey , $ innerValue );
2861- log::add ("frigateDetect " , 'debug ' , "╚═══════════════════════════════════════════════════════════════════════════════════════════════╝ " );
28622862 // mise à jour pour l'équipement event
2863- log::add ("frigateDetect " , 'debug ' , " ╔═════════════════════════════ :b:START ALL DETECT EQ EVENTS :/b: ═══════════════════════════════════╗ " );
2863+ log::add ("frigateDetect " , 'info ' , ' ║ Equipement : :b: ' . $ $ eqCamera -> getHumanName () . " :/b: " );
28642864 self ::handleAllObject ($ eqEvent , $ innerKey , $ innerValue );
2865- log::add ("frigateDetect " , 'debug ' , "╚═════════════ ══════════════════════════════════════════════════════════════════════════════════╝ " );
2865+ log::add ("frigateDetect " , 'info ' , "╚══════════════════════════════════════════════════════════════════════════════════╝ " );
28662866 break ;
28672867 }
28682868 }
0 commit comments