Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

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

Backport-of: f834dc3
  • Loading branch information
Yuri Nesterenko committed Jan 27, 2022
1 parent 982e720 commit b3f2089
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -103,14 +103,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 b3f2089

@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.