protected function log_start($message, $depth = 0) {
        $this->log($message, $depth);

        if (defined('MDL_PERFTOLOG') && MDL_PERFTOLOG) {
            $this->tracestats->$depth = [
                'mem' => memory_get_usage(),
                'time' => microtime(),
            ];
        }
    }
protected function log_start($message, $depth = 0) {
        $this->log($message, $depth);

        if (defined('MDL_PERFTOLOG') && MDL_PERFTOLOG) {
            $this->tracestats->$depth = [
                'mem' => memory_get_usage(),
                'time' => microtime(),
            ];
        }
    }
protected function log_start ( $ message , $ depth = 0 ) { $ this -> log ( $ message , $ depth ) ; if ( defined ( 'MDL_PERFTOLOG' ) && MDL_PERFTOLOG ) { $ this -> tracestats -> $ depth = [ 'mem' => memory_get_usage ( ) , 'time' => microtime ( ) , ] ; } }
Log a start message to the progress tracer.

@param   string  $message
@param   int     $depth
Log a start message to the progress tracer .