This commit is contained in:
Igor I
2025-08-25 09:04:23 +05:00
parent 9d750fc6a3
commit 930ae8eafb
5 changed files with 74 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
package logging;
public interface Logger {
void debug(String msg);
void info(String msg);
void warn(String msg);
void error(String msg);
static Logger getLogger(Class<?> clazz) {
return LoggerFactory.createLogger(clazz); // Подменяется реализацией
}
}