01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.logging;
06:
07: import com.tc.exception.ImplementMe;
08:
09: /**
10: * @author steve
11: */
12: public class NullTCLogger implements TCLogger {
13:
14: public void debug(Object message) {
15: //
16: }
17:
18: public void debug(Object message, Throwable t) {
19: //
20: }
21:
22: public void error(Object message) {
23: //
24: }
25:
26: public void error(Object message, Throwable t) {
27: //
28: }
29:
30: public void fatal(Object message) {
31: //
32: }
33:
34: public void fatal(Object message, Throwable t) {
35: //
36: }
37:
38: public void info(Object message) {
39: //
40: }
41:
42: public void info(Object message, Throwable t) {
43: //
44: }
45:
46: public void warn(Object message) {
47: //
48: }
49:
50: public void warn(Object message, Throwable t) {
51: //
52: }
53:
54: public boolean isDebugEnabled() {
55: return false;
56: }
57:
58: public boolean isInfoEnabled() {
59: return false;
60: }
61:
62: public void log(LogLevel level, Object message) {
63: //
64: }
65:
66: public void log(LogLevel level, Object message, Throwable t) {
67: //
68: }
69:
70: public void setLevel(LogLevel level) {
71: //
72: }
73:
74: public LogLevel getLevel() {
75: if (true)
76: throw new ImplementMe();
77: return null;
78: }
79:
80: public String getName() {
81: return "";
82: }
83:
84: }
|