add helper LoggerUtil method

This commit is contained in:
tueem 2024-12-19 13:30:36 +01:00
parent a17f5e826f
commit bf0022775d
Signed by: tueem
GPG Key ID: 65C8667EC17A88FB

View File

@ -17,4 +17,8 @@ public class LoggerUtil {
return new SimpleLogger(name, Level.DEBUG, true, false, true, true, "yyyy-MM-dd HH:mm:ss.SSSZ", null, return new SimpleLogger(name, Level.DEBUG, true, false, true, true, "yyyy-MM-dd HH:mm:ss.SSSZ", null,
new PropertiesUtil(new Properties()), System.out); new PropertiesUtil(new Properties()), System.out);
} }
public static Logger getLogger(Class<?> clazz) {
return getLogger(clazz.getName());
}
} }