mirror of
https://github.com/LamGC/Oracle-Sentry.git
synced 2025-04-29 14:17:34 +00:00
style: 忽略误报的编译警告, 调整内部字段访问权.
This commit is contained in:
parent
b5c3af1c19
commit
e6a81784a3
@ -9,6 +9,7 @@ import ch.qos.logback.core.spi.FilterReply;
|
||||
* 级别范围过滤器.
|
||||
* @author LamGC
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public class LevelRangeFilter extends Filter<ILoggingEvent> {
|
||||
|
||||
private Level maxLevel;
|
||||
|
@ -7,6 +7,7 @@ import ch.qos.logback.core.spi.FilterReply;
|
||||
/**
|
||||
* @author LamGC
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public class MarkerFilter extends Filter<ILoggingEvent> {
|
||||
|
||||
private String markerName;
|
||||
|
@ -19,7 +19,7 @@ import java.util.concurrent.ConcurrentHashMap;
|
||||
*/
|
||||
public class ScriptLoggerFactory implements ScriptComponentFactory<Logger> {
|
||||
|
||||
public final static Marker SCRIPT_MARKER = MarkerFactory.getMarker("Script");
|
||||
private final static Marker SCRIPT_MARKER = MarkerFactory.getMarker("Script");
|
||||
|
||||
@Override
|
||||
public Logger getInstance(ScriptInfo info) {
|
||||
|
Loading…
Reference in New Issue
Block a user