Class LogLevelSummary


  • public final class LogLevelSummary
    extends java.lang.Object
    • Constructor Detail

      • LogLevelSummary

        public LogLevelSummary​(java.lang.String level,
                               java.lang.Long count,
                               java.util.List<LogMessageSummary> topMessages)
    • Method Detail

      • getLevel

        public java.lang.String getLevel()
      • getCount

        public java.lang.Long getCount()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • withLevel

        public LogLevelSummary withLevel​(java.lang.String level)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withCount

        public LogLevelSummary withCount​(java.lang.Long count)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withTopMessages

        public LogLevelSummary withTopMessages​(java.util.List<LogMessageSummary> topMessages)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).