1 22 package org.jboss.logging; 23 24 34 public class NullLoggerPlugin implements LoggerPlugin 35 { 36 public void init(String name) 37 { 38 39 } 40 41 public boolean isTraceEnabled() 42 { 43 return false; 44 } 45 46 public void trace(Object message) 47 { 48 } 50 51 public void trace(Object message, Throwable t) 52 { 53 } 55 56 public boolean isDebugEnabled() 57 { 58 return false; 59 } 60 61 public void debug(Object message) 62 { 63 } 65 66 public void debug(Object message, Throwable t) 67 { 68 } 70 71 public boolean isInfoEnabled() 72 { 73 return false; 74 } 75 76 public void info(Object message) 77 { 78 } 80 81 public void info(Object message, Throwable t) 82 { 83 } 85 86 public void error(Object message) 87 { 88 } 90 91 public void error(Object message, Throwable t) 92 { 93 } 95 96 public void fatal(Object message) 97 { 98 } 100 101 public void fatal(Object message, Throwable t) 102 { 103 } 105 106 public void warn(Object message) 107 { 108 } 110 111 public void warn(Object message, Throwable t) 112 { 113 } 115 } 116 | Popular Tags |