code: public void debug(final String message, final int level) {
          messages.add(new LogMessage(message, LogMessage.Type.DEBUG, level));
          log.debug(message);
      }
docs: Write a debug message to the logs
  
  @param message The debug message