File tree Expand file tree Collapse file tree 4 files changed +35
-3
lines changed
net.lecousin.framework.log.bridges
main/java/net/lecousin/framework/log/bridges/slf4j
test/java/net/lecousin/framework/log/bridges/slf4j Expand file tree Collapse file tree 4 files changed +35
-3
lines changed Original file line number Diff line number Diff line change 38
38
<artifactId >core</artifactId >
39
39
<version >0.10.0</version >
40
40
</dependency >
41
+ <dependency >
42
+ <groupId >net.lecousin</groupId >
43
+ <artifactId >core</artifactId >
44
+ <version >0.10.0</version >
45
+ <type >test-jar</type >
46
+ </dependency >
41
47
</dependencies >
42
48
</dependencyManagement >
43
49
Original file line number Diff line number Diff line change 56
56
</dependency >
57
57
<dependency >
58
58
<groupId >org.slf4j</groupId >
59
- <artifactId >slf4j-simple </artifactId >
59
+ <artifactId >slf4j-api </artifactId >
60
60
<version >1.7.25</version >
61
- <scope >provided</scope >
61
+ <scope >test</scope >
62
+ </dependency >
63
+ <dependency >
64
+ <groupId >junit</groupId >
65
+ <artifactId >junit</artifactId >
66
+ <version >4.12</version >
67
+ <scope >test</scope >
68
+ </dependency >
69
+ <dependency >
70
+ <groupId >net.lecousin</groupId >
71
+ <artifactId >core</artifactId >
62
72
</dependency >
63
73
<dependency >
64
74
<groupId >net.lecousin</groupId >
65
75
<artifactId >core</artifactId >
76
+ <type >test-jar</type >
77
+ <scope >test</scope >
66
78
</dependency >
67
79
</dependencies >
68
80
Original file line number Diff line number Diff line change 7
7
8
8
import org .slf4j .ILoggerFactory ;
9
9
import org .slf4j .Logger ;
10
- import org .slf4j .impl .SimpleLogger ;
11
10
12
11
public class LCLoggerFactory implements ILoggerFactory {
13
12
Original file line number Diff line number Diff line change
1
+ package net .lecousin .framework .log .bridges .slf4j ;
2
+
3
+ import net .lecousin .framework .core .test .LCCoreAbstractTest ;
4
+
5
+ import org .junit .Test ;
6
+ import org .slf4j .LoggerFactory ;
7
+
8
+ public class TestSLF4J extends LCCoreAbstractTest {
9
+
10
+ @ Test (timeout =30000 )
11
+ public void test () {
12
+ LoggerFactory .getLogger ("test" ).info ("This is a test" );
13
+ }
14
+
15
+ }
You can’t perform that action at this time.
0 commit comments