package com.millipad.util;

import java.util.*;

public class Debug {

	public static final boolean DEBUG=true;

	public static void print(Class clazz, Object input) {
		if(!DEBUG) return;
		StringTokenizer tokenizer = new StringTokenizer(clazz.getName(), ".");
		String name = "";
		for(; tokenizer.hasMoreTokens();) name = tokenizer.nextToken();
		System.out.println("["+Calendar.getInstance().getTime()+" "+name+"] "+input);
		}
	}
