Class MailManager

    • Method Detail

      • add

        public abstract void add​(LogEvent event)
        Adds an event to the cyclic buffer.
        Parameters:
        event - The event to add.
      • sendEvents

        public abstract void sendEvents​(Layout<?> layout,
                                        LogEvent appendEvent)
        Send the contents of the cyclic buffer as an e-mail message.
        Parameters:
        layout - The layout for formatting the events.
        appendEvent - The event that triggered the send.