Class LogMessageRecordingAppender

java.lang.Object
com.atlassian.confluence.impl.logging.LogMessageRecordingAppender

public final class LogMessageRecordingAppender extends Object
Registers a consumer of LogEvents via LogConsumerService and records all error events in a collection.
  • Field Details

  • Constructor Details

    • LogMessageRecordingAppender

      public LogMessageRecordingAppender(LogConsumerService logConsumerService)
  • Method Details

    • getRecordedMessages

      public Collection<String> getRecordedMessages()
    • clearRecordedMessages

      public void clearRecordedMessages()