1 6 7 package com.sun.enterprise.config.backup.utils; 8 9 16 public class LoggerHelper { 17 18 19 public LoggerHelper() { 20 } 21 22 public static void fine(String message) { 23 System.out.println(message); 25 } 26 27 public static void info(String message) { 28 System.out.println(message); 30 } 31 32 public static void info(String message, Throwable exception) { 33 System.out.println(message); 34 exception.printStackTrace(); 35 } 36 37 public static void fine(String message, Throwable exception) { 38 System.out.println(message); 39 exception.printStackTrace(); 40 } 41 public static void error(String message, Throwable exception) { 42 System.out.println(message); 43 exception.printStackTrace(); 44 } 45 46 public static void warning(String message, Throwable exception) { 47 System.out.println(message); 48 exception.printStackTrace(); 49 } 50 51 public static void warning(String message) { 52 System.out.println(message); 53 } 54 55 56 } 57 | Popular Tags |