1 package mock.org.apache.avalon.framework.logger;
2
3 import org.apache.avalon.framework.logger.Logger;
4
5 public class LoggerMock implements Logger {
6
7 public boolean debugCalled;
8 public String debugMessage;
9 public void debug(String message) {
10 debugCalled = true;
11 debugMessage = message;
12 }
13
14 public void debug(String arg0, Throwable arg1) {
15 throw new UnsupportedOperationException("Implement me.");
16 }
17
18 public boolean isDebugEnabled() {
19 throw new UnsupportedOperationException("Implement me.");
20 }
21
22 public void info(String arg0) {
23 throw new UnsupportedOperationException("Implement me.");
24 }
25
26 public void info(String arg0, Throwable arg1) {
27 throw new UnsupportedOperationException("Implement me.");
28 }
29
30 public boolean isInfoEnabled() {
31 throw new UnsupportedOperationException("Implement me.");
32 }
33
34 public void warn(String arg0) {
35 throw new UnsupportedOperationException("Implement me.");
36 }
37
38 public void warn(String arg0, Throwable arg1) {
39 throw new UnsupportedOperationException("Implement me.");
40 }
41
42 public boolean isWarnEnabled() {
43 throw new UnsupportedOperationException("Implement me.");
44 }
45
46 public void error(String arg0) {
47 throw new UnsupportedOperationException("Implement me.");
48 }
49
50 public void error(String arg0, Throwable arg1) {
51 throw new UnsupportedOperationException("Implement me.");
52 }
53
54 public boolean isErrorEnabled() {
55 throw new UnsupportedOperationException("Implement me.");
56 }
57
58 public boolean fatalErrorCalled;
59 public String fatalErrorMessage;
60 public void fatalError(String message) {
61 fatalErrorCalled = true;
62 fatalErrorMessage = message;
63 }
64
65 public boolean fatalError2Called;
66 public String fatalError2Message;
67 public Throwable fatalError2Throwable;
68 public void fatalError(String message, Throwable throwable) {
69 fatalError2Called = true;
70 fatalError2Message = message;
71 fatalError2Throwable = throwable;
72 }
73
74 public boolean isFatalErrorEnabled() {
75 throw new UnsupportedOperationException("Implement me.");
76 }
77
78 public Logger getChildLogger(String arg0) {
79 throw new UnsupportedOperationException("Implement me.");
80 }
81
82 }
This page was automatically generated by Maven