DB\SQL::log PHP Method

log() public method

Return SQL profiler results (or disable logging)
public log ( $flag = TRUE ) : string
$flag bool
return string
    function log($flag = TRUE)
    {
        if ($flag) {
            return $this->log;
        }
        $this->log = FALSE;
    }