KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > regis > remote > ServerDebug


1 package org.sapia.regis.remote;
2
3 public class ServerDebug {
4
5   static boolean enabled = false;
6   
7   public static void debug(Object JavaDoc src, Object JavaDoc msg){
8     if(enabled){
9       System.out.println("[REGIS - " + src.getClass().getName() + " >> " + msg + "]");
10     }
11   }
12 }
13
Popular Tags