Lines Matching defs:componentClass
72 * @param componentClass class of the component that will use the logger instance. Must not be {@code null}.
74 * @throws NullPointerException if the componentClass parameter is {@code null}.
76 public static @NotNull Logger getLogger(final @NotNull Class<?> componentClass) {
77 return new Logger(getSystemLoggerName(componentClass), componentClass.getName());
90 * @param componentClass class of the component that will use the logger instance. Must not be {@code null}.
92 * @throws NullPointerException if the componentClass parameter is {@code null}.
96 public static @NotNull Logger getLogger(final @NotNull String customLoggerName, final @NotNull Class<?> componentClass) {
97 return new Logger(customLoggerName, componentClass.getName());
102 * @param componentClass class of the component that will use the logger instance. Must not be {@code null}.
103 * @return system logger name for the given {@code componentClass} instance
105 static final String getSystemLoggerName(@NotNull Class<?> componentClass) {
106 StringBuilder sb = new StringBuilder(componentClass.getPackage().getName());