Preparing for the transition to REST API
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package logging;
|
||||
|
||||
import org.ccalm.main.MainController;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class SLF4JLogger implements Logger {
|
||||
private final org.slf4j.Logger logger;
|
||||
|
||||
public SLF4JLogger(Class<?> clazz) {
|
||||
this.logger = LoggerFactory.getLogger(clazz);
|
||||
|
||||
}
|
||||
|
||||
public void debug(String msg) { logger.debug(msg); }
|
||||
public void info(String msg) { logger.info(msg); }
|
||||
public void warn(String msg) { logger.warn(msg); }
|
||||
public void error(String msg) { logger.error(msg); }
|
||||
}
|
||||
Reference in New Issue
Block a user