Israeli Bank Importer - v1.44.5
    Preparing search index...

    Class default

    O(1) circular ring buffer for storing recent log entries.

    Index
    • Creates a LogBuffer with the given maximum capacity.

      Parameters

      • OptionalmaxSize: number

        Maximum entries to retain; 0 disables buffering.

      Returns default

    • Appends a log line to the buffer, evicting the oldest entry when full.

      Parameters

      • line: string

        The log line string to store.

      Returns void

    • Returns the most recent log entries up to the requested count.

      Parameters

      • Optionalcount: number

        Maximum number of entries to return; defaults to all stored entries.

      Returns string[]

      Array of log line strings, oldest first.

    • Returns the current number of stored entries.

      Returns number

      Number of entries currently in the buffer.

    • Resets the buffer to an empty state, discarding all stored entries.

      Returns void

    • Indicates whether buffering is active (maxSize > 0).

      Returns boolean

      True when the buffer has a non-zero capacity.