package com.robothand.highqualitybot.util;

import net.dv8tion.jda.core.utils.SimpleLog;

/**
 * SimpleLogWrapper.java
 * Intercepts logging from JDA's SimpleLog and routes it through to SLF4J
 */
public class SimpleLogWrapper implements SimpleLog.LogListener {

    @Override
    public void onLog(SimpleLog log, SimpleLog.Level logLevel, Object message) {
        // TODO implement SimpleLogWrapper.onLog()
    }

    @Override
    public void onError(SimpleLog log, Throwable err) {
        // TODO implement SimpleLogWrapper.onError()
    }
}

@@ -69,23 +69,113 @@
 ore.
-utils.SimpleLog
+JDA;%0Aimport net.dv8tion.jda.core.utils.SimpleLog;%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory
 ;%0A%0A/
@@ -253,13 +253,12 @@
 and 
-route
+send
 s it
@@ -343,16 +343,86 @@
 stener %7B
+%0A    private final Logger logger = LoggerFactory.getLogger(JDA.class);
 %0A%0A    @O
@@ -521,51 +521,509 @@
     
- // TODO implement SimpleLogWrapper.onLog()
+switch (logLevel) %7B%0A           case TRACE:%0A               logger.trace(message.toString());%0A               break;%0A%0A           case DEBUG:%0A               logger.debug(message.toString());%0A               break;%0A%0A           case INFO:%0A               logger.info(message.toString());%0A               break;%0A%0A           case WARNING:%0A               logger.warn(message.toString());%0A               break;%0A%0A           case FATAL:%0A               logger.error(message.toString());%0A               break;%0A       %7D
 %0A   
@@ -1108,52 +1108,39 @@
     
-// TODO implement SimpleLogWrapper.onError()
+logger.error(%22Exception%22, err);
 %0A   

implement SimpleLogWrapper