Class SilencerAutoLogProp

  • All Implemented Interfaces:

    @ConfigurationProperties(value = SilencerAutoLogProp.Key) 
    public class SilencerAutoLogProp
    
                        

    Automatically switch log levels for appender. wings-autolog-79.properties

    Since:

    2021-02-13

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getLevel() Slf4j format, default WARN.
      void setLevel(String level) Slf4j format, default WARN.
      Set<String> getTarget() The names of the appender to adjust, commas separated, default CONSOLE,STDOUT
      void setTarget(Set<String> target) The names of the appender to adjust, commas separated, default CONSOLE,STDOUT
      Set<String> getExists() If the following appenders exist, the above log level is automatically adjusted
      void setExists(Set<String> exists) If the following appenders exist, the above log level is automatically adjusted
      boolean equals(@Nullable() Object o)
      int hashCode()
      String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SilencerAutoLogProp

        SilencerAutoLogProp()
    • Method Detail

      • getLevel

         String getLevel()

        Slf4j format, default WARN. Automatically set the log level, such as ALL, TRACE, DEBUG, INFO, WARN, ERROR, OFF

      • setLevel

         void setLevel(String level)

        Slf4j format, default WARN. Automatically set the log level, such as ALL, TRACE, DEBUG, INFO, WARN, ERROR, OFF

      • getTarget

         Set<String> getTarget()

        The names of the appender to adjust, commas separated, default CONSOLE,STDOUT

      • setTarget

         void setTarget(Set<String> target)

        The names of the appender to adjust, commas separated, default CONSOLE,STDOUT

      • getExists

         Set<String> getExists()

        If the following appenders exist, the above log level is automatically adjusted

      • setExists

         void setExists(Set<String> exists)

        If the following appenders exist, the above log level is automatically adjusted