$applicationInstance = ApplicationHelper::getSelfInstance();
// Output all lines
- self::createDebugInstance(__CLASS__)->debugMessage(' ');
- self::createDebugInstance(__CLASS__)->debugMessage($applicationInstance->getAppName() . ' v' . $applicationInstance->getAppVersion() . ' - ' . FrameworkBootstrap::getRequestInstance()->getRequestElement('mode') . ' daemon starting');
- self::createDebugInstance(__CLASS__)->debugMessage('Copyright (c) 2015 - 2023 City Developer Team');
- self::createDebugInstance(__CLASS__)->debugMessage(' ');
- self::createDebugInstance(__CLASS__)->debugMessage('This program comes with ABSOLUTELY NO WARRANTY; for details see docs/COPYING.');
- self::createDebugInstance(__CLASS__)->debugMessage('This is free software, and you are welcome to redistribute it under certain');
- self::createDebugInstance(__CLASS__)->debugMessage('conditions; see docs/COPYING for details.');
- self::createDebugInstance(__CLASS__)->debugMessage(' ');
+ self::createDebugInstance(__CLASS__, __LINE__)->debugMessage(' ');
+ self::createDebugInstance(__CLASS__, __LINE__)->debugMessage($applicationInstance->getAppName() . ' v' . $applicationInstance->getAppVersion() . ' - ' . FrameworkBootstrap::getRequestInstance()->getRequestElement('mode') . ' daemon starting');
+ self::createDebugInstance(__CLASS__, __LINE__)->debugMessage('Copyright (c) 2015 - 2023 City Developer Team');
+ self::createDebugInstance(__CLASS__, __LINE__)->debugMessage(' ');
+ self::createDebugInstance(__CLASS__, __LINE__)->debugMessage('This program comes with ABSOLUTELY NO WARRANTY; for details see docs/COPYING.');
+ self::createDebugInstance(__CLASS__, __LINE__)->debugMessage('This is free software, and you are welcome to redistribute it under certain');
+ self::createDebugInstance(__CLASS__, __LINE__)->debugMessage('conditions; see docs/COPYING for details.');
+ self::createDebugInstance(__CLASS__, __LINE__)->debugMessage(' ');
}
/**
// ----------------------- Last step from here ------------------------
// Activate the city daemon. This is ALWAYS the last step in this method
- /* DEBUG: */ self::createDebugInstance(__CLASS__)->debugMessage('CITY[' . __METHOD__ . ':' . __LINE__ . ']: state=' . $this->getStateInstance()->__toString() . ' - Activating ...');
+ /* DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugMessage('CITY[' . __METHOD__ . ':' . __LINE__ . ']: state=' . $this->getStateInstance()->__toString() . ' - Activating ...');
$this->getStateInstance()->citySimulationIsActivated();
// ---------------------- Last step until here ------------------------
}
$dataSetInstance->addCriteria($element, $cityData[$element]);
} else {
// Output warning message
- self::createDebugInstance(__CLASS__)->warningMessage(sprintf('BASE-CITY-DAEMON: Element %s not found in CityData array.', $element));
+ self::createDebugInstance(__CLASS__, __LINE__)->warningMessage(sprintf('BASE-CITY-DAEMON: Element %s not found in CityData array.', $element));
}
}
}