src/main/java/org/jboss/util/xml/catalog/helpers/Debug.java
/**
   * Print debug message (if the debug level is high enough).
   *
   * <p>Prints "the message: spec1" and "spec2" indented on the next line.</p>
   *
   * @param level The debug level of this message. This message
   * will only be
   * displayed if the current debug level is at least equal to this
   * value.
   * @param message The text of the message.
   * @param spec1 An argument to the message.
   * @param spec2 Another argument to the message.
   */
Print debug message (if the debug level is high enough).
Prints "the message: spec1" and "spec2" indented on the next line.

@param level The debug level of this message. This message
will only be
displayed if the current debug level is at least equal to this
value.
@param message The text of the message.
@param spec1 An argument to the message.
@param spec2 Another argument to the message.
Print debug message ( if the debug level is high enough ) . Prints " the message : spec1 " and " spec2 " indented on the next line . @param level The debug level of this message . This message will only be displayed if the current debug level is at least equal to this value . @param message The text of the message . @param spec1 An argument to the message . @param spec2 Another argument to the message .
public void message(int level, String message,
			     String spec1, String spec2) {
    if (debug >= level) {
      System.out.println(message + ": " + spec1);
      System.out.println("\t" + spec2);
    }
  }
public void message ( int level , String message , String spec1 , String spec2 ) { if ( debug >= level ) { System . out . println ( message + ": " + spec1 ) ; System . out . println ( "\t" + spec2 ) ; } }
Print debug message (if the debug level is high enough).
Print debug message ( if the debug level is high enough ) .