1 28 29 package com.caucho.log; 30 31 import java.util.logging.Logger ; 32 33 36 public class Log { 37 40 public static Logger open(Class cl) 41 { 42 try { 43 return Logger.getLogger(cl.getName()); 44 } catch (RuntimeException e) { 45 e.printStackTrace(); 46 throw e; 47 } catch (Error e) { 48 e.printStackTrace(); 49 throw e; 50 } 51 } 52 53 private Log() {} 54 } 55 | Popular Tags |