Skip to main content

Try it Live

Run EventLog examples in the interactive playground

    Usage Notes

    create() is functionally identical to EventLog() and EventLog.from(). Use whichever name is clearest:
    // All equivalent
    const log1 = EventLog(params);       // Primary (recommended)
    const log2 = EventLog(params);  // Alias
    const log3 = EventLog.create(params); // Alias
    
    Most code uses EventLog() as the primary constructor. Use create() when explicit construction intent improves readability.

    See Also

    • EventLog() - Primary constructor
    • from - Alias for EventLog() constructor
    • clone - Deep clone existing log