Skip to content

Commit

Permalink
8247964: All log0() in com/sun/org/slf4j/internal/Logger.java should …
Browse files Browse the repository at this point in the history
…be private

Reviewed-by: phh
  • Loading branch information
caojoshua authored and Paul Hohensee committed Jul 5, 2022
1 parent 290a7e3 commit 7a076e4
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -107,14 +107,14 @@ private void log0(Level level, String s) {
}
}

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(),
Expand Down

1 comment on commit 7a076e4

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.