/** * Clear the Log * * @return $this * @since 1.0.0 */ public function clearLog() { parent::clearLog(); $json = json_encode($this->log, JSON_BIGINT_AS_STRING | JSON_PRETTY_PRINT); file_put_contents($this->file_location, $json); return $this; }