1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
package org.xwiki.extension.repository.aether.internal.components; |
21 |
|
|
22 |
|
import org.slf4j.Logger; |
23 |
|
|
24 |
|
|
25 |
|
@version |
26 |
|
@since |
27 |
|
|
|
|
| 5.1% |
Uncovered Elements: 37 (39) |
Complexity: 20 |
Complexity Density: 1.05 |
|
28 |
|
class XWikiLogger implements org.codehaus.plexus.logging.Logger |
29 |
|
{ |
30 |
|
private Logger logger; |
31 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
32 |
25 |
public XWikiLogger(Logger logger)... |
33 |
|
{ |
34 |
25 |
this.logger = logger; |
35 |
|
} |
36 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
37 |
0 |
@Override... |
38 |
|
public void debug(String message) |
39 |
|
{ |
40 |
0 |
this.logger.debug(message); |
41 |
|
} |
42 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
43 |
0 |
@Override... |
44 |
|
public void debug(String message, Throwable throwable) |
45 |
|
{ |
46 |
0 |
this.logger.debug(message, throwable); |
47 |
|
} |
48 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
49 |
0 |
@Override... |
50 |
|
public void info(String message) |
51 |
|
{ |
52 |
0 |
this.logger.info(message); |
53 |
|
} |
54 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
55 |
0 |
@Override... |
56 |
|
public void info(String message, Throwable throwable) |
57 |
|
{ |
58 |
0 |
this.logger.info(message, throwable); |
59 |
|
} |
60 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
61 |
0 |
@Override... |
62 |
|
public void warn(String message) |
63 |
|
{ |
64 |
0 |
this.logger.warn(message); |
65 |
|
} |
66 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
0 |
@Override... |
68 |
|
public void warn(String message, Throwable throwable) |
69 |
|
{ |
70 |
0 |
this.logger.warn(message, throwable); |
71 |
|
} |
72 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
73 |
0 |
@Override... |
74 |
|
public void fatalError(String message) |
75 |
|
{ |
76 |
0 |
this.logger.error(message); |
77 |
|
} |
78 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
79 |
0 |
@Override... |
80 |
|
public void fatalError(String message, Throwable throwable) |
81 |
|
{ |
82 |
0 |
this.logger.error(message, throwable); |
83 |
|
} |
84 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
85 |
0 |
@Override... |
86 |
|
public void error(String message) |
87 |
|
{ |
88 |
0 |
this.logger.error(message); |
89 |
|
} |
90 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
91 |
0 |
@Override... |
92 |
|
public void error(String message, Throwable throwable) |
93 |
|
{ |
94 |
0 |
this.logger.error(message, throwable); |
95 |
|
} |
96 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
97 |
0 |
@Override... |
98 |
|
public boolean isDebugEnabled() |
99 |
|
{ |
100 |
0 |
return this.logger.isDebugEnabled(); |
101 |
|
} |
102 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
103 |
0 |
@Override... |
104 |
|
public boolean isInfoEnabled() |
105 |
|
{ |
106 |
0 |
return this.logger.isInfoEnabled(); |
107 |
|
} |
108 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
109 |
0 |
@Override... |
110 |
|
public boolean isWarnEnabled() |
111 |
|
{ |
112 |
0 |
return this.logger.isWarnEnabled(); |
113 |
|
} |
114 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
115 |
0 |
@Override... |
116 |
|
public boolean isErrorEnabled() |
117 |
|
{ |
118 |
0 |
return this.logger.isErrorEnabled(); |
119 |
|
} |
120 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
121 |
0 |
@Override... |
122 |
|
public boolean isFatalErrorEnabled() |
123 |
|
{ |
124 |
0 |
return this.logger.isErrorEnabled(); |
125 |
|
} |
126 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
127 |
0 |
@Override... |
128 |
|
public void setThreshold(int treshold) |
129 |
|
{ |
130 |
|
} |
131 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
132 |
0 |
@Override... |
133 |
|
public int getThreshold() |
134 |
|
{ |
135 |
0 |
return LEVEL_DEBUG; |
136 |
|
} |
137 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
138 |
0 |
@Override... |
139 |
|
public org.codehaus.plexus.logging.Logger getChildLogger(String name) |
140 |
|
{ |
141 |
0 |
return this; |
142 |
|
} |
143 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
144 |
0 |
@Override... |
145 |
|
public String getName() |
146 |
|
{ |
147 |
0 |
return "xwiki logger"; |
148 |
|
} |
149 |
|
|
150 |
|
} |