View Javadoc

1   package a;
2   
3   import java.net.InetAddress;
4   
5   import net.sf.jour.rt.agent.AsyncEventWriter;
6   
7   import org.apache.log4j.Logger;
8   
9   
10  public class ASimpleRun {
11      
12      protected static final Logger log = Logger.getLogger("net.sf.jour");
13      
14      public static void d(String str) {
15          log.debug(str);
16      }
17      
18  
19      public static void main(String[] args) throws Exception {
20          d(InetAddress.getLocalHost().getHostAddress());
21      }
22  }