def METHOD_NAME(severity: JournalSeverity, message: str):
    """Write an event to the journal."""
    journal = JournalManager.__get_journal()
    event_id = str(uuid.uuid4())
    now = datetime.now()
    if severity not in JournalSeverity.__dict__.values():
        severity = JournalSeverity.INFO
    journal[event_id] = {
        "severity": severity,
        "message": message,
        "timestamp": now.strftime("%Y-%m-%d %H:%M:%S")
    }
    JournalManager.__save_journal(journal)
    JournalManager.__clean_old()