public static function writeLogs(string $message) : bool
    {
        return (bool) file_put_contents(rtrim(LOGS_PATH, '/') . '/' . gmdate('Y_m_d') . '.log',
                                        '[' . gmdate('d-M-Y H:i:s') . '] ' . $message . PHP_EOL,
                                        FILE_APPEND);
    }