1 |
|
package org.europa.together.business; |
2 |
|
|
3 |
|
import org.apiguardian.api.API; |
4 |
|
import static org.apiguardian.api.API.Status.STABLE; |
5 |
|
import org.europa.together.domain.LogLevel; |
6 |
|
import org.springframework.stereotype.Component; |
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
@author |
12 |
|
@version |
13 |
|
@since |
14 |
|
|
15 |
|
@API(status = STABLE, since = "1.0", consumers = "LogbackLogger") |
16 |
|
@Component |
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
17 |
|
public interface Logger { |
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
@API(status = STABLE, since = "1.2") |
23 |
|
String FEATURE_ID = "CM-01"; |
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
@param |
30 |
|
@param |
31 |
|
@return |
32 |
|
|
33 |
|
@API(status = STABLE, since = "1.0") |
34 |
|
LogLevel log(String message, LogLevel level); |
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
@return |
40 |
|
|
41 |
|
@API(status = STABLE, since = "1.0") |
42 |
|
LogLevel getConfiguredLogLevel(); |
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
@param |
50 |
|
@return |
51 |
|
|
52 |
|
@API(status = STABLE, since = "1.0") |
53 |
|
String catchException(Exception ex); |
54 |
|
} |