1 23 24 package org.infoglue.deliver.util.graphics; 25 26 import org.apache.avalon.framework.logger.Logger; 27 28 29 35 public class FOPCmsLogger implements Logger 36 { 37 private final static org.apache.log4j.Logger logger = org.apache.log4j.Logger.getLogger(FOPCmsLogger.class.getName()); 38 39 public void debug(String arg0) { 40 logger.info(arg0); 41 } 42 43 public void debug(String arg0, Throwable arg1) { 44 logger.info(arg0, (Exception ) arg1); 45 } 46 47 public boolean isDebugEnabled() { 48 return false; 50 } 51 52 public void info(String arg0) { 53 logger.info(arg0); 54 } 55 56 public void info(String arg0, Throwable arg1) { 57 logger.info(arg0, (Exception ) arg1); 58 } 59 60 public boolean isInfoEnabled() { 61 return false; 63 } 64 65 public void warn(String arg0) { 66 logger.warn(arg0); 67 } 68 69 public void warn(String arg0, Throwable arg1) { 70 logger.warn(arg0, (Exception ) arg1); 71 72 } 73 74 public boolean isWarnEnabled() { 75 return false; 77 } 78 79 public void error(String arg0) { 80 logger.error(arg0); 81 82 } 83 84 public void error(String arg0, Throwable arg1) { 85 logger.error(arg0, (Exception ) arg1); 86 87 } 88 89 public boolean isErrorEnabled() { 90 return false; 92 } 93 94 public void fatalError(String arg0) { 95 logger.error(arg0); 96 97 } 98 99 public void fatalError(String arg0, Throwable arg1) { 100 logger.error(arg0, (Exception ) arg1); 101 } 102 103 public boolean isFatalErrorEnabled() { 104 return false; 106 } 107 108 public Logger getChildLogger(String arg0) { 109 return null; 110 } 111 } 112 | Popular Tags |