Class LogLine


  • public class LogLine
    extends Object
    Represents a single log line of the DefaultFixtureLogger.
    Author:
    Rene Schneider - initial API and implementation
    • Field Detail

      • text

        protected String text
        The text.
      • timestamp

        protected long timestamp
        The timestamp at which this line was logged.
      • level

        protected FixtureLogLevel level
        The level at which the line was logged.
      • TIMESTAMP_FORMAT

        protected static final DateFormat TIMESTAMP_FORMAT
        The timestamp format for stringification of this log line.
    • Constructor Detail

      • LogLine

        public LogLine​(String aText,
                       FixtureLogLevel aLevel)
        Creates a new instance.
        Parameters:
        aText - the text
        aLevel - the level at which the line was logged