org.springframework.boot.logging

Class LoggerGroups

  • java.lang.Object
    • org.springframework.boot.logging.LoggerGroups
  • All Implemented Interfaces:
    java.lang.Iterable<LoggerGroup>


    public final class LoggerGroups
    extends java.lang.Object
    implements java.lang.Iterable<LoggerGroup>
    Logger groups configured via the Spring Environment.
    Since:
    2.2.0 #see LoggerGroup
    • Constructor Summary

      Constructors 
      Constructor and Description
      LoggerGroups() 
      LoggerGroups(java.util.Map<java.lang.String,java.util.List<java.lang.String>> namesAndMembers) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      LoggerGroup get(java.lang.String name) 
      java.util.Iterator<LoggerGroup> iterator() 
      void putAll(java.util.Map<java.lang.String,java.util.List<java.lang.String>> namesAndMembers) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • LoggerGroups

        public LoggerGroups()
      • LoggerGroups

        public LoggerGroups(java.util.Map<java.lang.String,java.util.List<java.lang.String>> namesAndMembers)
    • Method Detail

      • putAll

        public void putAll(java.util.Map<java.lang.String,java.util.List<java.lang.String>> namesAndMembers)
      • iterator

        public java.util.Iterator<LoggerGroup> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<LoggerGroup>