1 23 24 29 30 package com.sun.enterprise.config.util; 31 32 40 public class LoggerHelper { 41 42 43 public LoggerHelper() { 44 } 45 46 public static void fine(String message) { 47 } 50 51 public static void finer(String message) { 52 } 55 56 public static void finest(String message) { 57 } 60 61 public static void info(String message) { 62 } 65 66 public static void info(String message, Throwable exception) { 67 System.out.println(message); 68 exception.printStackTrace(); 69 } 70 71 public static void fine(String message, Throwable exception) { 72 System.out.println(message); 73 exception.printStackTrace(); 74 } 75 public static void error(String message, Throwable exception) { 76 System.out.println(message); 77 exception.printStackTrace(); 78 } 79 80 public static void warning(String message, Throwable exception) { 81 System.out.println(message); 82 exception.printStackTrace(); 83 } 84 85 public static void warning(String message) { 86 System.out.println(message); 87 } 88 89 90 } 91 | Popular Tags |