Add namespace Processmaker\Core

This commit is contained in:
Marco A. Nina Mena
2017-08-14 16:13:46 -04:00
parent 06641a39c2
commit ee5a124bba
87 changed files with 623 additions and 477 deletions

View File

@@ -110,21 +110,21 @@ abstract class Handler
*/
public static function logstr($str)
{
if (\PmSystem::isDebugMode()) {
if (\ProcessMaker\Core\System::isDebugMode()) {
Logger::getInstance()->setLog($str);
}
}
public static function logInline()
{
if (\PmSystem::isDebugMode()) {
if (\ProcessMaker\Core\System::isDebugMode()) {
call_user_func_array(array(Logger::getInstance(), 'setLogInline'), func_get_args());
}
}
public static function log()
{
if (\PmSystem::isDebugMode()) {
if (\ProcessMaker\Core\System::isDebugMode()) {
$logger = Logger::getInstance();
call_user_func_array(array($logger, 'setLogLine'), func_get_args());
}