Logs a debug message
@param string $msg
@param array $vars
552618
public function debug($msg, $vars = array()) {
		foreach($this->loggers as $logger)
			$logger->debug($msg, $vars);
	}
1160057
public static function debug($msg, $mode = null, $offset = null)
    {
        switch (Config::get('debug')) {
        case 'THEDEBUG':
            if (class_exists('Xiphe\THEMASTER\THEDEBUG')) {
                Xiphe\THEMASTER\debug($msg, $mode, null, 2+$offset);
            }
            break;
        case 'Exception':
            throw new \Exception($msg, 1);
            break;
        default:
            break;
        }
    }
1304663
protected function logDebug($msg)
    {
        $logger = $this->client->getAsteriskLogger();
        $ani = $this->client->getChannelVariables()->getCallerIdName();
        $dnis = $this->client->getChannelVariables()->getDNIS();
        $logger->debug("NodeController: {$this->name}: $ani -> $dnis: $msg");
    }
1310255
protected void debug(String msg, Object... args) {
        if (processingEnv.getOptions().containsKey("debug")) {
            messager.printMessage(NOTE, String.format(msg, args));
        }
    }
1286318
public function debug($msg)
    {
        if ($this->iniGetBool('display_errors') === true) {
            $this->write((string)$msg, 'DEBUG');
        }

        return $this;
    }
1282478
public function debug(string $msg) {
		if ($this->level > self::DEBUG)
			return;
		$this->write('DEB', $msg);
	}
270675
public function debug($message, array $context = [])
    {
        // Throw out debug messages if we are not in debug mode
        if (\Config::get('app.debug') != true) {
            return;
        }
        $this->writeLog(__FUNCTION__, $message, $context);
    }
1024637
public function log($msg, $timestamp = true)
    {
        if ($timestamp) {
            $timestamp = strftime("%Y-%m-%d %H:%M:%S");
            $msg = "[{$timestamp}] {$msg}";
        }
        $this->addResult($msg);
        if ($this->verbose) echo $msg . PHP_EOL;
    }
999914
private function debug($message)
    {
        if (1 < func_num_args()) {
            $message = call_user_func_array('sprintf', func_get_args());
        }
        $this->logger->addDebug($message);
    }
1043724
public void debug (String msg, Object... args) {
    debug(format(msg, args), getCause(args));
  }
1058790
public static function debug($message, array $context = [], string $channel = self::DEFAULT_CHANNEL): void
    {
        self::log(LogLevel::DEBUG, $message, $context, $channel);
    }
938589
public function log($msg, $level = Project::MSG_INFO)
    {
        $this->logObject($this, $msg, $level);
    }
154556
protected function logInfo(string $msg)
    {
        $this->logger->info('CMD: ' . $msg);
        $this->out->writeln("<info>$msg<info>");
    }
76333
public static function log($msg)
    {
        $msg = $msg . "\n";
        if (!static::$daemonize) {
            static::safeEcho($msg);
        }
        file_put_contents((string)static::$logFile, date('Y-m-d H:i:s') . ' ' . 'pid:'
            . (static::$_OS === OS_TYPE_LINUX ? posix_getpid() : 1) . ' ' . $msg, FILE_APPEND | LOCK_EX);
    }
1252219
public function log($msg, $level = Project::MSG_INFO, Exception $t = null)
    {
        if ($this->getProject() !== null) {
            $this->getProject()->logObject($this, $msg, $level, $t);
        } else {
            parent::log($msg, $level);
        }
    }
84642
protected function debugPrint($msg)
    {
        if ($this->logger) {
            $this->logger->debug("$msg\n");
        } else {
            parent::debugPrint($msg);
        }
    }
409154
public void debug(String msg, ServiceReference sr) {
        doLog(msg, LOG_DEBUG, sr, null);
    }