1 55 package org.apache.avalon.framework.logger; 56 57 65 public final class NullLogger implements Logger 66 { 67 70 public NullLogger() 71 { 72 } 73 74 79 public void debug( String message ) 80 { 81 } 82 83 89 public void debug( String message, Throwable throwable ) 90 { 91 } 92 93 98 public boolean isDebugEnabled() 99 { 100 return false; 101 } 102 103 108 public void info( String message ) 109 { 110 } 111 112 118 public void info( String message, Throwable throwable ) 119 { 120 } 121 122 127 public boolean isInfoEnabled() 128 { 129 return false; 130 } 131 132 137 public void warn( String message ) 138 { 139 } 140 141 147 public void warn( String message, Throwable throwable ) 148 { 149 } 150 151 156 public boolean isWarnEnabled() 157 { 158 return false; 159 } 160 161 166 public void error( String message ) 167 { 168 } 169 170 176 public void error( String message, Throwable throwable ) 177 { 178 } 179 180 185 public boolean isErrorEnabled() 186 { 187 return false; 188 } 189 190 195 public void fatalError( String message ) 196 { 197 } 198 199 205 public void fatalError( String message, Throwable throwable ) 206 { 207 } 208 209 214 public boolean isFatalErrorEnabled() 215 { 216 return false; 217 } 218 219 225 public Logger getChildLogger( String name ) 226 { 227 return this; 228 } 229 } 230 | Popular Tags |