1   /*
2    * Copyright 2006 The Apache Software Foundation.
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  package org.apache.commons.logging.tccl.custom;
17  
18  import org.apache.commons.logging.Log;
19  
20  public class MyLog implements Log {
21  
22      public MyLog(String category) {}
23  
24      public boolean isDebugEnabled() { return false; }
25      public boolean isErrorEnabled() { return false; }
26      public boolean isFatalEnabled() { return false; }
27      public boolean isInfoEnabled()  { return false; }
28      public boolean isTraceEnabled() { return false; }
29      public boolean isWarnEnabled()  { return false; }
30  
31      public void trace(Object message) {}
32      public void trace(Object message, Throwable t) {}
33      public void debug(Object message) {}
34      public void debug(Object message, Throwable t) {}
35      public void info(Object message) {}
36      public void info(Object message, Throwable t) {}
37      public void warn(Object message) {}
38      public void warn(Object message, Throwable t) {}
39      public void error(Object message) {}
40      public void error(Object message, Throwable t) {}
41      public void fatal(Object message) {}
42      public void fatal(Object message, Throwable t) {}
43  }