01: /*
02: * Copyright 2006 The Apache Software Foundation.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
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:
25: public boolean isDebugEnabled() {
26: return false;
27: }
28:
29: public boolean isErrorEnabled() {
30: return false;
31: }
32:
33: public boolean isFatalEnabled() {
34: return false;
35: }
36:
37: public boolean isInfoEnabled() {
38: return false;
39: }
40:
41: public boolean isTraceEnabled() {
42: return false;
43: }
44:
45: public boolean isWarnEnabled() {
46: return false;
47: }
48:
49: public void trace(Object message) {
50: }
51:
52: public void trace(Object message, Throwable t) {
53: }
54:
55: public void debug(Object message) {
56: }
57:
58: public void debug(Object message, Throwable t) {
59: }
60:
61: public void info(Object message) {
62: }
63:
64: public void info(Object message, Throwable t) {
65: }
66:
67: public void warn(Object message) {
68: }
69:
70: public void warn(Object message, Throwable t) {
71: }
72:
73: public void error(Object message) {
74: }
75:
76: public void error(Object message, Throwable t) {
77: }
78:
79: public void fatal(Object message) {
80: }
81:
82: public void fatal(Object message, Throwable t) {
83: }
84: }
|