Type alias LogProcessor

LogProcessor: ((messages, next) => void)

Type declaration

    • (messages, next): void
    • Processes messages and passes updated messages to the next processor.

      Parameters

      • messages: LogMessage[]

        The array of messages to process.

      • next: ((messages) => void)

        Invokes the next processor in the sequence or no-op if there's no more processors.

          • (messages): void
          • Parameters

            Returns void

      Returns void