Index

A C D G I L M O P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AddressUtil - Class in top.tangyh.basic.log.util
根据ip查询地址

C

clear() - Method in class org.slf4j.LampMdcAdapter
Clear all entries in the MDC.
clearDequeByKey(String) - Method in class org.slf4j.LampMdcAdapter
 

D

DB - Enum constant in enum class top.tangyh.basic.log.properties.OptLogType
记录日志到数据库
debug(String, String, String) - Static method in class top.tangyh.basic.log.monitor.PointUtil
 
doAfterReturning(JoinPoint, Object) - Method in class top.tangyh.basic.log.aspect.SysLogAspect
返回通知
doAfterThrowable(JoinPoint, Throwable) - Method in class top.tangyh.basic.log.aspect.SysLogAspect
异常通知
doBefore(JoinPoint) - Method in class top.tangyh.basic.log.aspect.SysLogAspect
执行方法之前

G

get(String) - Method in class org.slf4j.LampMdcAdapter
Get the context identified by the key parameter.
getCopyOfContextMap() - Method in class org.slf4j.LampMdcAdapter
Return a copy of the current thread's context map.
getCopyOfDequeByKey(String) - Method in class org.slf4j.LampMdcAdapter
 
getDescribe(JoinPoint) - Static method in class top.tangyh.basic.log.util.LogUtil
获取操作信息
getDescribe(WebLog) - Static method in class top.tangyh.basic.log.util.LogUtil
 
getInstance() - Static method in class org.slf4j.LampMdcAdapter
 
getKeys() - Method in class org.slf4j.LampMdcAdapter
Returns the keys in the MDC as a Set.
getPropertyMap() - Method in class org.slf4j.LampMdcAdapter
Get the current thread's MDC as a map.
getRegion(String) - Static method in class top.tangyh.basic.log.util.AddressUtil
解析IP
getTargetAnnotation(JoinPoint) - Static method in class top.tangyh.basic.log.util.LogUtil
优先从子类获取 @WebLog: 1,若子类重写了该方法,有标记就记录日志,没标记就忽略日志 2,若子类没有重写该方法,就从父类获取,父类有标记就记录日志,没标记就忽略日志

I

info(String, String, String) - Static method in class 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) - Method in class top.tangyh.basic.log.LampMdcAdapterInitializer
 

L

LampMdcAdapter - Class in org.slf4j
重构LogbackMDCAdapter类,搭配TransmittableThreadLocal实现父子线程之间的数据传递
LampMdcAdapter() - Constructor for class org.slf4j.LampMdcAdapter
 
LampMdcAdapterInitializer - Class in top.tangyh.basic.log
初始化TtlMDCAdapter实例,并替换MDC中的adapter对象
LampMdcAdapterInitializer() - Constructor for class top.tangyh.basic.log.LampMdcAdapterInitializer
 
LogAutoConfiguration - Class in top.tangyh.basic.log
日志自动配置
LogAutoConfiguration() - Constructor for class top.tangyh.basic.log.LogAutoConfiguration
 
LOGGER - Enum constant in enum class top.tangyh.basic.log.properties.OptLogType
通过logger记录日志到本地
LogUtil - Class in top.tangyh.basic.log.util
日志工具类

M

MAX_LENGTH - Static variable in class top.tangyh.basic.log.aspect.SysLogAspect
 

O

OptLogProperties - Class in top.tangyh.basic.log.properties
操作日志配置类
OptLogProperties() - Constructor for class top.tangyh.basic.log.properties.OptLogProperties
 
OptLogType - Enum Class in top.tangyh.basic.log.properties
日志类型
org.slf4j - package org.slf4j
 

P

PointUtil - Class in top.tangyh.basic.log.monitor
日志埋点工具类
popByKey(String) - Method in class org.slf4j.LampMdcAdapter
 
PREFIX - Static variable in class top.tangyh.basic.log.properties.OptLogProperties
 
pushByKey(String, String) - Method in class org.slf4j.LampMdcAdapter
 
put(String, String) - Method in class 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) - Method in class org.slf4j.LampMdcAdapter
Remove the the context identified by the key parameter.

S

saveSysLog(SysLogEvent) - Method in class top.tangyh.basic.log.event.SysLogListener
 
setContextMap(Map<String, String>) - Method in class org.slf4j.LampMdcAdapter
 
sysLogAspect() - Method in class top.tangyh.basic.log.aspect.SysLogAspect
定义controller切入点拦截规则:拦截标记WebLog注解和指定包下的方法 2个表达式加起来才能拦截所有Controller 或者继承了BaseController的方法 execution(public * top.tangyh.basic.base.controller.*.*(..))
sysLogAspect() - Method in class top.tangyh.basic.log.LogAutoConfiguration
 
SysLogAspect - Class in top.tangyh.basic.log.aspect
操作日志使用spring event异步入库
SysLogAspect() - Constructor for class top.tangyh.basic.log.aspect.SysLogAspect
 
SysLogEvent - Class in top.tangyh.basic.log.event
系统日志事件
SysLogEvent(OptLogDTO) - Constructor for class top.tangyh.basic.log.event.SysLogEvent
 
sysLogListener() - Method in class top.tangyh.basic.log.LogAutoConfiguration
 
SysLogListener - Class in top.tangyh.basic.log.event
异步监听日志事件
SysLogListener() - Constructor for class top.tangyh.basic.log.event.SysLogListener
 

T

ThreadLocalParam - Class in top.tangyh.basic.log.util
线程变量封装的参数
ThreadLocalParam() - Constructor for class top.tangyh.basic.log.util.ThreadLocalParam
 
top.tangyh.basic.log - package top.tangyh.basic.log
 
top.tangyh.basic.log.aspect - package top.tangyh.basic.log.aspect
 
top.tangyh.basic.log.event - package top.tangyh.basic.log.event
 
top.tangyh.basic.log.monitor - package top.tangyh.basic.log.monitor
 
top.tangyh.basic.log.properties - package top.tangyh.basic.log.properties
 
top.tangyh.basic.log.util - package top.tangyh.basic.log.util
 

V

valueOf(String) - Static method in enum class top.tangyh.basic.log.properties.OptLogType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class top.tangyh.basic.log.properties.OptLogType
Returns an array containing the constants of this enum class, in the order they are declared.
A C D G I L M O P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form