migrate to slf4j #18

Merged
tueem merged 4 commits from migrate/slf4j into dev 2025-03-17 19:34:27 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit faca21724c - Show all commits

View File

@ -59,7 +59,7 @@ public class SlashCommandParser implements AnnotationParser {
.build(isAutoComplete); .build(isAutoComplete);
} }
logger.trace("Parsed using SlashCommandParser for method {} with the result:\n{}", ReflectionUtil.getFullMethodName(method), lastIdentifier.toString()); logger.trace("Parsed using SlashCommandParser for method {} with the result: {}", ReflectionUtil.getFullMethodName(method), lastIdentifier.toString());
consumer.accept((SlashCommandIdentifier) lastIdentifier); consumer.accept((SlashCommandIdentifier) lastIdentifier);
} }

View File

@ -102,6 +102,6 @@ public final class ReflectionUtil {
} }
public static String getFullMethodName(Method method) { public static String getFullMethodName(Method method) {
return method.getClass().getName() + "." + method.getName(); return method.getDeclaringClass().getName() + "." + method.getName();
} }
} }