public function log($logtype, $data, $file = '', $line = '')
    {
        $data = [
            'logtype' => $logtype,
            'data' => $data,
        ];

        $this->writeLogSections('Logs', $data, $file, $line);
    }