Skip to content

Commit

Permalink
+ fixed sorting of overriding caller levels
Browse files Browse the repository at this point in the history
  • Loading branch information
q3769 committed Oct 28, 2023
1 parent 5a37030 commit 8e22a4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/main/java/elf4j/engine/NativeLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ public class NativeLogger implements Logger {
/**
* Constructor only meant to be used by {@link NativeLoggerFactory} and this class itself
*
* @param declaringClassName name of the declaring class that requested this instance via the
* {@link Logger#instance()} method
* @param level severity level of this logger instance
* @param declaringClassName name of the declaring class that requested this instance via the
* {@link Logger#instance()} method
* @param level severity level of this logger instance
* @param nativeLoggerFactory log service access point from this instance, not reloadable
*/
public NativeLogger(
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/elf4j/engine/service/pattern/ClassElement.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ public static ClassElement from(@NonNull String patternSegment) {
}

/**
* @return <code>false</code> assuming the logger's declaring class is the same as the caller class. Therefore, unlike
* the {@link MethodElement}, it does not take a stack trace walk to locate the caller class - the declaring class is
* taken instead.
* @return <code>false</code> assuming the logger's declaring class is the same as the caller class. Therefore,
* unlike the {@link MethodElement}, it does not take a stack trace walk to locate the caller class - the declaring
* class is taken instead.
*/
@Override
public boolean includeCallerDetail() {
Expand Down

0 comments on commit 8e22a4c

Please sign in to comment.