code: public static void debug(boolean alsoStdout, Class clazz, String posInfo, Object msg)
      {
          if (alsoStdout)
          {
              System.out.println(msg.toString());
          }
  
          String name = clazz.getName();
  
          if (posInfo != null)
          {    
              name += "." + posInfo;
          }
  
          Log log = LogFactory.getLog(name);
  
          if (log.isDebugEnabled())
          {
              log.debug(msg);
          }
      }
docs: Logs the given debug message to stdout (if verbose is on) and to the log for the given class
  (if the log level has been set to debug or higher).
  
  @param alsoStdout Whether to also put the message to stdout
  @param clazz      The clazz
  @param posInfo    The position info, e.g. method name
  @param msg        The message