1 |
|
package org.apache.maven.plugin.dependency.utils; |
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
import org.apache.maven.plugin.logging.Log; |
23 |
|
import org.codehaus.plexus.logging.Logger; |
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
1369 |
public class SilentLog |
30 |
|
implements Log, Logger |
31 |
|
{ |
32 |
|
|
33 |
|
public boolean isDebugEnabled() |
34 |
|
{ |
35 |
2 |
return false; |
36 |
|
} |
37 |
|
|
38 |
|
public void debug( CharSequence content ) |
39 |
|
{ |
40 |
145 |
} |
41 |
|
|
42 |
|
public void debug( CharSequence content, Throwable error ) |
43 |
|
{ |
44 |
1 |
} |
45 |
|
|
46 |
|
public void debug( Throwable error ) |
47 |
|
{ |
48 |
3 |
} |
49 |
|
|
50 |
|
public boolean isInfoEnabled() |
51 |
|
{ |
52 |
2 |
return false; |
53 |
|
} |
54 |
|
|
55 |
|
public void info( CharSequence content ) |
56 |
|
{ |
57 |
1389 |
} |
58 |
|
|
59 |
|
public void info( CharSequence content, Throwable error ) |
60 |
|
{ |
61 |
1 |
} |
62 |
|
|
63 |
|
public void info( Throwable error ) |
64 |
|
{ |
65 |
1 |
} |
66 |
|
|
67 |
|
public boolean isWarnEnabled() |
68 |
|
{ |
69 |
2 |
return false; |
70 |
|
} |
71 |
|
|
72 |
|
public void warn( CharSequence content ) |
73 |
|
{ |
74 |
1 |
} |
75 |
|
|
76 |
|
public void warn( CharSequence content, Throwable error ) |
77 |
|
{ |
78 |
1 |
} |
79 |
|
|
80 |
|
public void warn( Throwable error ) |
81 |
|
{ |
82 |
1 |
} |
83 |
|
|
84 |
|
public boolean isErrorEnabled() |
85 |
|
{ |
86 |
2 |
return false; |
87 |
|
} |
88 |
|
|
89 |
|
public void error( CharSequence content ) |
90 |
|
{ |
91 |
1 |
} |
92 |
|
|
93 |
|
public void error( CharSequence content, Throwable error ) |
94 |
|
{ |
95 |
1 |
} |
96 |
|
|
97 |
|
public void error( Throwable error ) |
98 |
|
{ |
99 |
1 |
} |
100 |
|
|
101 |
|
public void debug( String message ) |
102 |
|
{ |
103 |
|
|
104 |
|
|
105 |
1618 |
} |
106 |
|
|
107 |
|
public void debug( String message, Throwable throwable ) |
108 |
|
{ |
109 |
|
|
110 |
|
|
111 |
1 |
} |
112 |
|
|
113 |
|
public void info( String message ) |
114 |
|
{ |
115 |
|
|
116 |
|
|
117 |
507 |
} |
118 |
|
|
119 |
|
public void info( String message, Throwable throwable ) |
120 |
|
{ |
121 |
|
|
122 |
|
|
123 |
1 |
} |
124 |
|
|
125 |
|
public void warn( String message ) |
126 |
|
{ |
127 |
|
|
128 |
|
|
129 |
1 |
} |
130 |
|
|
131 |
|
public void warn( String message, Throwable throwable ) |
132 |
|
{ |
133 |
|
|
134 |
|
|
135 |
1 |
} |
136 |
|
|
137 |
|
public void error( String message ) |
138 |
|
{ |
139 |
|
|
140 |
|
|
141 |
1 |
} |
142 |
|
|
143 |
|
public void error( String message, Throwable throwable ) |
144 |
|
{ |
145 |
|
|
146 |
|
|
147 |
1 |
} |
148 |
|
|
149 |
|
public void fatalError( String message ) |
150 |
|
{ |
151 |
|
|
152 |
|
|
153 |
1 |
} |
154 |
|
|
155 |
|
public void fatalError( String message, Throwable throwable ) |
156 |
|
{ |
157 |
|
|
158 |
|
|
159 |
1 |
} |
160 |
|
|
161 |
|
public boolean isFatalErrorEnabled() |
162 |
|
{ |
163 |
|
|
164 |
1 |
return false; |
165 |
|
} |
166 |
|
|
167 |
|
public Logger getChildLogger( String name ) |
168 |
|
{ |
169 |
|
|
170 |
1 |
return null; |
171 |
|
} |
172 |
|
|
173 |
|
public int getThreshold() |
174 |
|
{ |
175 |
|
|
176 |
1 |
return 0; |
177 |
|
} |
178 |
|
|
179 |
|
public String getName() |
180 |
|
{ |
181 |
|
|
182 |
1 |
return null; |
183 |
|
} |
184 |
|
} |