code: @Override
    public void log(Level level, Object message, Throwable e) {
      if(level == null) {
        level = Level.FATAL;
      }
  
      switch(level) {
      case TRACE:
        logger.trace(message.toString(), e);
        break;
      case DEBUG:
        logger.debug(message.toString(), e);
        break;
      case INFO:
        logger.info(message.toString(), e);
        break;
      case WARN:
        logger.warn(message.toString(), e);
        break;
      case ERROR:
        logger.error(message.toString(), e);
        break;
      case FATAL:
        logger.error(message.toString(), e);
        break;
      default:
        logger.error("Unhandled Logging Level: " + level
          + " with log message: " + message.toString(), e);
      }
    }
docs: Wrapper around SLF4J logger facade.
  
  @param level net.spy.compat.log.Level level.
  @param message object message
  @param e optional throwable