mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-05-13 09:01:27 +08:00
save log
This commit is contained in:
@@ -12,10 +12,10 @@
|
||||
* 使用注解声明权限控制
|
||||
* 自定义声明权限控制
|
||||
* 拓展数据权限控制
|
||||
3. [访问日志](log)
|
||||
* [声明记录访问日志](log#声明记录访问日志)
|
||||
* [监听访问日志](log#监听访问日志)
|
||||
* [日志序列化](log#日志序列化)
|
||||
3. [访问日志](logging)
|
||||
* [声明记录访问日志](logging#声明记录访问日志)
|
||||
* [监听访问日志](logging#监听访问日志)
|
||||
* [日志序列化](logging#日志序列化)
|
||||
4. 动态数据源
|
||||
* 在配置文件中添加动态数据源
|
||||
* 通过自定义,在数据库或其他地方添加动态数据源
|
||||
|
||||
28
docs/user-guide/logging/声明记录访问日志.md
Normal file
28
docs/user-guide/logging/声明记录访问日志.md
Normal file
@@ -0,0 +1,28 @@
|
||||
## 使用步骤
|
||||
|
||||
1. 如果你是maven工程
|
||||
* 引入私服配置
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>hsweb-nexus</id>
|
||||
<name>Nexus Release Repository</name>
|
||||
<url>http://nexus.hsweb.me/content/groups/public/</url>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
* 直接引入依赖
|
||||
|
||||
<dependency>
|
||||
<groupId>org.hswebframework.web</groupId>
|
||||
<artifactId>hsweb-access-logging-aop</artifactId>
|
||||
<version>3.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
2. 如果你是非maven工程,[请自行去以下地址](http://nexus.hsweb.me/)下载jar包
|
||||
|
||||
|
||||
0
docs/user-guide/logging/日志序列化.md
Normal file
0
docs/user-guide/logging/日志序列化.md
Normal file
0
docs/user-guide/logging/监听访问日志.md
Normal file
0
docs/user-guide/logging/监听访问日志.md
Normal file
Reference in New Issue
Block a user