public function logStart($string, $context = []) {
        if (!$this->enabled) {
            return;
        }

        $this->timer = static::getTime();
        $this->log("Start: ".$string, [
            'elapsed' => 'start'
        ] + $context);
    }
public function logStart($string, $context = []) {
        if (!$this->enabled) {
            return;
        }

        $this->timer = static::getTime();
        $this->log("Start: ".$string, [
            'elapsed' => 'start'
        ] + $context);
    }
public function logStart ( $ string , $ context = [ ] ) { if ( ! $ this -> enabled ) { return ; } $ this -> timer = static :: getTime ( ) ; $ this -> log ( "Start: " . $ string , [ 'elapsed' => 'start' ] + $ context ) ; }
Starts a timer. Ideal for logging elapsed time for database queries

@param string $string A string to identify the entry in the log
@param array $context Arbitrary data to log
Starts a timer . Ideal for logging elapsed time for database queries