Class LoggerAssertion


  • public class LoggerAssertion
    extends java.lang.Object
    Asserts Logger messages.
    Author:
    Daniel Sagenschneider
    • Method Detail

      • getLogger

        public java.util.logging.Logger getLogger()
        Obtains the Logger.
        Returns:
        Logger.
      • getLogRecords

        public java.util.logging.LogRecord[] getLogRecords()
        Obtains the LogRecord instances from the Logger.
        Returns:
        LogRecord instances from the Logger.
      • disconnectFromLogger

        public java.util.logging.LogRecord[] disconnectFromLogger()
        Disconnects from the Logger.
        Returns:
        LogRecord instances provided to the Logger.