public function memoryUsage($data, $file = '', $line = '', $matchKey = null)
    {
        $this->writeLogSections('Memory Usage', $data, $file, $line, $matchKey);
    }
public function memoryUsage($data, $file = '', $line = '', $matchKey = null)
    {
        $this->writeLogSections('Memory Usage', $data, $file, $line, $matchKey);
    }
public function memoryUsage ( $ data , $ file = '' , $ line = '' , $ matchKey = null ) { $ this -> writeLogSections ( 'Memory Usage' , $ data , $ file , $ line , $ matchKey ) ; }
write memory usage logs.

@param mixed $data log data.
@param string $file path to file where it calls logger. (optional).
@param integer $line number of line in that file that calls logger. (optional).
@param string|null $matchKey The key to be match at the beginning and end for calculate total time or memory only for this key. (optional). The key must be unique in this section.
write memory usage logs .