8247964: All log0() in com/sun/org/slf4j/internal/Logger.java should be private

Reviewed-by: rriggs, xuelei
This commit is contained in:
Weijun Wang 2020-06-21 08:32:54 +08:00
parent c4df79117d
commit f834dc3dc9

View File

@ -103,14 +103,14 @@ public class Logger {
}
}
public void log0(Level level, String s, Throwable e) {
private void log0(Level level, String s, Throwable e) {
if (impl.isLoggable(level)) {
var sf = WALKER.walk(f -> f.skip(2).findFirst()).get();
impl.logp(Level.FINE, sf.getClassName(), sf.getMethodName(), s, e);
}
}
public void log0(Level level, String s, Object... o) {
private void log0(Level level, String s, Object... o) {
if (impl.isLoggable(level)) {
var sf = WALKER.walk(f -> f.skip(2).findFirst()).get();
impl.logp(Level.FINE, sf.getClassName(), sf.getMethodName(),