diff --git a/common/src/main/java/com/kumuluz/ee/logs/LogManager.java b/common/src/main/java/com/kumuluz/ee/logs/LogManager.java index 757f290..02ffd47 100644 --- a/common/src/main/java/com/kumuluz/ee/logs/LogManager.java +++ b/common/src/main/java/com/kumuluz/ee/logs/LogManager.java @@ -27,6 +27,16 @@ */ public class LogManager { + /** + * Returns Logger instance. Use this method for retrieval of Logger instances in your code. + * + * @param clazz Class to log + * @return Logger instance + */ + public static Logger getLogger(Class clazz) { + return LogUtil.getInstance().getLogInstance(clazz.getName()); + } + /** * Returns Logger instance. Use this method for retrieval of Logger instances in your code. *