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
trydofor
-
-
Constructor Summary
Constructors Constructor Description SilencerAutoLogProp()
-
Method Summary
Modifier and Type Method Description StringgetLevel()Slf4j format, default WARN. voidsetLevel(String level)Slf4j format, default WARN. Set<String>getTarget()The names of the appender to adjust, commas separated, default CONSOLE,STDOUT voidsetTarget(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 voidsetExists(Set<String> exists)If the following appenders exist, the above log level is automatically adjusted booleanequals(@Nullable() Object o)inthashCode()StringtoString()-
-
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
-
hashCode
int hashCode()
-
-
-
-