Log.java revision a31cb777eb3c60947a9b955a5e7e8246e33204b1
1/* 2 * Copyright (C) 2009 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17package org.apache.james.mime4j; 18 19/** 20 * Empty stub for the apache logging library. 21 */ 22public class Log { 23 public Log(Class mClazz) { 24 } 25 26 public boolean isDebugEnabled() { 27 return false; 28 } 29 30 public boolean isErrorEnabled() { 31 return false; 32 } 33 34 public boolean isFatalEnabled() { 35 return false; 36 } 37 38 public boolean isInfoEnabled() { 39 return false; 40 } 41 42 public boolean isTraceEnabled() { 43 return false; 44 } 45 46 public boolean isWarnEnabled() { 47 return false; 48 } 49 50 public void trace(Object message) { 51 } 52 53 public void trace(Object message, Throwable t) { 54 } 55 56 public void debug(Object message) { 57 } 58 59 public void debug(Object message, Throwable t) { 60 } 61 62 public void info(Object message) { 63 } 64 65 public void info(Object message, Throwable t) { 66 } 67 68 public void warn(Object message) { 69 } 70 71 public void warn(Object message, Throwable t) { 72 } 73 74 public void error(Object message) { 75 } 76 77 public void error(Object message, Throwable t) { 78 } 79 80 public void fatal(Object message) { 81 } 82 83 public void fatal(Object message, Throwable t) { 84 } 85} 86