Skip to content

Commit 0f94074

Browse files
authored
Merge pull request #18 from diaozxin007/master
update 0.1.1
2 parents fbea744 + fb588b9 commit 0f94074

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

examples/pom.xml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,29 @@
1919
<dependency>
2020
<groupId>io.github.wechaty</groupId>
2121
<artifactId>wechaty</artifactId>
22-
<version>0.1.0-SNAPSHOT</version>
22+
<version>0.1.1-SNAPSHOT</version>
23+
</dependency>
24+
<dependency>
25+
<groupId>org.apache.logging.log4j</groupId>
26+
<artifactId>log4j-api</artifactId>
27+
<version>2.13.1</version>
28+
</dependency>
29+
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
30+
<dependency>
31+
<groupId>org.apache.logging.log4j</groupId>
32+
<artifactId>log4j-core</artifactId>
33+
<version>2.13.1</version>
34+
</dependency>
35+
<dependency> <!-- 桥接:告诉Slf4j使用Log4j2 -->
36+
<groupId>org.apache.logging.log4j</groupId>
37+
<artifactId>log4j-slf4j-impl</artifactId>
38+
<version>2.13.1</version>
39+
</dependency>
40+
<!-- https://mvnrepository.com/artifact/com.lmax/disruptor -->
41+
<dependency>
42+
<groupId>com.lmax</groupId>
43+
<artifactId>disruptor</artifactId>
44+
<version>3.4.2</version>
2345
</dependency>
2446
</dependencies>
2547

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Configuration status="INFO">
3+
<Appenders>
4+
<Console name="Console" target="SYSTEM_OUT">
5+
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t]%-5level %logger{36}-[%L] - %msg%n"/>
6+
</Console>
7+
</Appenders>
8+
<Loggers>
9+
<AsyncRoot level="INFO" includeLocation="true">
10+
<AppenderRef ref="Console"/>
11+
</AsyncRoot>
12+
</Loggers>
13+
14+
<Logger name="io.github.wechaty" level="DEBUG" >
15+
<AppenderRef ref="Console"/>
16+
</Logger>
17+
18+
</Configuration>

0 commit comments

Comments
 (0)