LazyRecord\Migration\BaseMigration::showSql PHP Method

showSql() protected method

protected showSql ( $sql, $title = '' )
    protected function showSql($sql, $title = '')
    {
        if (strpos($sql, "\n") !== false) {
            $this->logger->info('Performing Query: ' . $title);
            $this->logger->info($sql);
        } else {
            $this->logger->info('Performing Query: ' . $sql);
        }
    }