UNB/ CS/ David Bremner/ teaching/ old/ cs1083/ java/ Trace.java
public class Trace{

  final static int screen_offset=10;


  public static void reverseIndent(int level, String message){

    int spaces=screen_offset-level;

    for (int i=0; i<spaces; i++){
      System.out.print("  ");
    }
    System.out.println(message);
  }

  public static void indent(int level, String message){

    for (int i=0; i<level; i++){
      System.out.print("  ");
    }
    System.out.println(message);
  }

}