public function enableLogQueries(bool $flag = true)
    {
        $this->settings()->set('log_queries', (int) $flag);

        return $this;
    }
public function enableLogQueries(bool $flag = true)
    {
        $this->settings()->set('log_queries', (int) $flag);

        return $this;
    }
public function enableLogQueries ( bool $ flag = true ) { $ this -> settings ( ) -> set ( 'log_queries' , ( int ) $ flag ) ; return $ this ; }
Write to system.query_log

@return static
Write to system . query_log