您的浏览器已禁用 JavaScript。
跳过导航链接
概览
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
A
C
D
G
I
L
M
O
P
R
S
T
V
A
AddressUtil
-
top.tangyh.basic.log.util
中的类
根据ip查询地址
C
clear()
- 类 中的方法org.slf4j.
LampMdcAdapter
Clear all entries in the MDC.
D
debug(String, String, String)
- 类 中的静态方法top.tangyh.basic.log.monitor.
PointUtil
doAfterReturning(JoinPoint, Object)
- 类 中的方法top.tangyh.basic.log.aspect.
SysLogAspect
返回通知
doAfterThrowable(JoinPoint, Throwable)
- 类 中的方法top.tangyh.basic.log.aspect.
SysLogAspect
异常通知
doBefore(JoinPoint)
- 类 中的方法top.tangyh.basic.log.aspect.
SysLogAspect
执行方法之前
G
get(String)
- 类 中的方法org.slf4j.
LampMdcAdapter
Get the context identified by the
key
parameter.
getCopyOfContextMap()
- 类 中的方法org.slf4j.
LampMdcAdapter
Return a copy of the current thread's context map.
getDescribe(JoinPoint)
- 类 中的静态方法top.tangyh.basic.log.util.
LogUtil
获取操作信息
getDescribe(SysLog)
- 类 中的静态方法top.tangyh.basic.log.util.
LogUtil
getInstance()
- 类 中的静态方法org.slf4j.
LampMdcAdapter
getKeys()
- 类 中的方法org.slf4j.
LampMdcAdapter
Returns the keys in the MDC as a
Set
.
getPropertyMap()
- 类 中的方法org.slf4j.
LampMdcAdapter
Get the current thread's MDC as a map.
getRegion(String)
- 类 中的静态方法top.tangyh.basic.log.util.
AddressUtil
解析IP
getTargetAnnotation(JoinPoint)
- 类 中的静态方法top.tangyh.basic.log.util.
LogUtil
优先从子类获取 @SysLog: 1,若子类重写了该方法,有标记就记录日志,没标记就忽略日志 2,若子类没有重写该方法,就从父类获取,父类有标记就记录日志,没标记就忽略日志
I
info(String, String, String)
- 类 中的静态方法top.tangyh.basic.log.monitor.
PointUtil
格式为:{对象id}|{类型}|{对象属性(以&分割)} 例子1:12344|user-login|ip=xxx.xxx.xx&userName=张三&userType=后台管理员 例子2:12345|file-upload|fileName=xxx&filePath=xxx
initialize(ConfigurableApplicationContext)
- 类 中的方法top.tangyh.basic.log.
LampMdcAdapterInitializer
L
LampMdcAdapter
-
org.slf4j
中的类
重构
LogbackMDCAdapter
类,搭配TransmittableThreadLocal实现父子线程之间的数据传递
LampMdcAdapter()
- 类 的构造器org.slf4j.
LampMdcAdapter
LampMdcAdapterInitializer
-
top.tangyh.basic.log
中的类
初始化TtlMDCAdapter实例,并替换MDC中的adapter对象
LampMdcAdapterInitializer()
- 类 的构造器top.tangyh.basic.log.
LampMdcAdapterInitializer
LogAutoConfiguration
-
top.tangyh.basic.log
中的类
日志自动配置 启动条件: 1,存在web环境 2,配置文件中lamp.log.enabled=true 或者 配置文件中不存在:lamp.log.enabled 值
LogAutoConfiguration()
- 类 的构造器top.tangyh.basic.log.
LogAutoConfiguration
LogUtil
-
top.tangyh.basic.log.util
中的类
日志工具类
M
MAX_LENGTH
- 类 中的静态变量top.tangyh.basic.log.aspect.
SysLogAspect
O
OptLogProperties
-
top.tangyh.basic.log.properties
中的类
操作日志配置类
OptLogProperties()
- 类 的构造器top.tangyh.basic.log.properties.
OptLogProperties
OptLogType
-
top.tangyh.basic.log.properties
中的枚举
日志类型
org.slf4j
- 程序包 org.slf4j
P
PointUtil
-
top.tangyh.basic.log.monitor
中的类
日志埋点工具类
PREFIX
- 类 中的静态变量top.tangyh.basic.log.properties.
OptLogProperties
put(String, String)
- 类 中的方法org.slf4j.
LampMdcAdapter
Put a context value (the
val
parameter) as identified with the
key
parameter into the current thread's context map.
R
remove(String)
- 类 中的方法org.slf4j.
LampMdcAdapter
Remove the the context identified by the
key
parameter.
S
saveSysLog(SysLogEvent)
- 类 中的方法top.tangyh.basic.log.event.
SysLogListener
setContextMap(Map<String, String>)
- 类 中的方法org.slf4j.
LampMdcAdapter
SysLogAspect
-
top.tangyh.basic.log.aspect
中的类
操作日志使用spring event异步入库
SysLogAspect()
- 类 的构造器top.tangyh.basic.log.aspect.
SysLogAspect
sysLogAspect()
- 类 中的方法top.tangyh.basic.log.aspect.
SysLogAspect
定义controller切入点拦截规则:拦截标记SysLog注解和指定包下的方法 2个表达式加起来才能拦截所有Controller 或者继承了BaseController的方法 execution(public * top.tangyh.basic.base.controller.*.*(..))
sysLogAspect()
- 类 中的方法top.tangyh.basic.log.
LogAutoConfiguration
SysLogEvent
-
top.tangyh.basic.log.event
中的类
系统日志事件
SysLogEvent(OptLogDTO)
- 类 的构造器top.tangyh.basic.log.event.
SysLogEvent
SysLogListener
-
top.tangyh.basic.log.event
中的类
异步监听日志事件
SysLogListener()
- 类 的构造器top.tangyh.basic.log.event.
SysLogListener
sysLogListener()
- 类 中的方法top.tangyh.basic.log.
LogAutoConfiguration
T
top.tangyh.basic.log
- 程序包 top.tangyh.basic.log
top.tangyh.basic.log.aspect
- 程序包 top.tangyh.basic.log.aspect
top.tangyh.basic.log.event
- 程序包 top.tangyh.basic.log.event
top.tangyh.basic.log.monitor
- 程序包 top.tangyh.basic.log.monitor
top.tangyh.basic.log.properties
- 程序包 top.tangyh.basic.log.properties
top.tangyh.basic.log.util
- 程序包 top.tangyh.basic.log.util
V
valueOf(String)
- 枚举 中的静态方法top.tangyh.basic.log.properties.
OptLogType
返回带有指定名称的该类型的枚举常量。
values()
- 枚举 中的静态方法top.tangyh.basic.log.properties.
OptLogType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
A
C
D
G
I
L
M
O
P
R
S
T
V
跳过导航链接
概览
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
Copyright © 2022. All rights reserved.