Debug serveur stats\nDebug
This commit is contained in:
@ -5,7 +5,7 @@ function apiDashboard($socket, $n="Général")
|
||||
{
|
||||
global $dashboards, $indexDevices;
|
||||
require_once "apiserver/javascript.php";
|
||||
logger(INFO, _("apiDashboard function"), __FILE__ . ":" . __LINE__);
|
||||
logger(DEBUG, _("apiDashboard function"), __FILE__ . ":" . __LINE__);
|
||||
$response = insertJavascript();
|
||||
|
||||
if(array_key_exists($n, $dashboards))
|
||||
@ -69,7 +69,7 @@ function apiDashboard($socket, $n="Général")
|
||||
|
||||
function displayChoice($device, $propertyName, $value)
|
||||
{
|
||||
logger(INFO, _("function displayChoice"), __FILE__ . ":" . __LINE__);
|
||||
logger(DEBUG, _("function displayChoice"), __FILE__ . ":" . __LINE__);
|
||||
$propertyObject = $device->properties[$propertyName];
|
||||
$unit = '';
|
||||
|
||||
@ -130,7 +130,7 @@ function displayChoice($device, $propertyName, $value)
|
||||
function mkHTML($device, $propertyName, $choice)
|
||||
{
|
||||
$html = "";
|
||||
logger(INFO, "function mkHTML", __FILE__ . ":" . __LINE__);
|
||||
logger(DEBUG, "function mkHTML", __FILE__ . ":" . __LINE__);
|
||||
foreach ($choice as $key => $value)
|
||||
{
|
||||
$html .= '<input type="button" id="' . $device->topic ."/" . $device->friendlyName . "/" . $propertyName . "/" . strtolower($value) . '" value="' . $value . "\" onmouseup=\"setPropertyValue('" . $device->topic . "', '" . $device->friendlyName . "', '" . $value . "', '" . $propertyName . "')\">";
|
||||
@ -402,7 +402,7 @@ function apiNotify($argList)
|
||||
function apiVerbose($argList)
|
||||
{
|
||||
global $logLevel, $logLevels;
|
||||
logger(INFO, _("apiVerbose function"), __FILE__ . ":" . __LINE__);
|
||||
logger(DEBUG, _("apiVerbose function"), __FILE__ . ":" . __LINE__);
|
||||
$response = "";
|
||||
//print_r($argList);
|
||||
foreach ($logLevels as $value => $level)
|
||||
@ -430,7 +430,6 @@ function getFn($argList)
|
||||
$jsonArray = array();
|
||||
logger(INFO, _("getFn function"), __FILE__ . ":" . __LINE__);
|
||||
|
||||
|
||||
if (array_key_exists("ieeeAddress", $argList))
|
||||
{
|
||||
logger(DEBUG, "ieeeAddress = " . $argList["ieeeAddress"], __FILE__ . ":" . __LINE__);
|
||||
|
Reference in New Issue
Block a user