索引

A C D G I L M O P R S T V 
All Classes and Interfaces|常量字段值|所有程序包|序列化表格

A

AddressUtil - top.tangyh.basic.log.util中的类
根据ip查询地址

C

clear() - 类中的方法 org.slf4j.LampMdcAdapter
Clear all entries in the MDC.
clearDequeByKey(String) - 类中的方法 org.slf4j.LampMdcAdapter
 

D

DB - enum class 中的枚举常量 top.tangyh.basic.log.properties.OptLogType
记录日志到数据库
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.
getCopyOfDequeByKey(String) - 类中的方法 org.slf4j.LampMdcAdapter
 
getDescribe(JoinPoint) - 类中的静态方法 top.tangyh.basic.log.util.LogUtil
获取操作信息
getDescribe(WebLog) - 类中的静态方法 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
优先从子类获取 @WebLog: 1,若子类重写了该方法,有标记就记录日志,没标记就忽略日志 2,若子类没有重写该方法,就从父类获取,父类有标记就记录日志,没标记就忽略日志

I

info(String, String, String) - 类中的静态方法 top.tangyh.basic.log.monitor.PointUtil
格式为:{对象id}|{类型}|{对象属性(以&\u5206\u5272)} 例子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中的类
日志自动配置
LogAutoConfiguration() - 类的构造器 top.tangyh.basic.log.LogAutoConfiguration
 
LOGGER - enum class 中的枚举常量 top.tangyh.basic.log.properties.OptLogType
通过logger记录日志到本地
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中的Enum Class
日志类型
org.slf4j - 程序包 org.slf4j
 

P

PointUtil - top.tangyh.basic.log.monitor中的类
日志埋点工具类
popByKey(String) - 类中的方法 org.slf4j.LampMdcAdapter
 
PREFIX - 类中的静态变量 top.tangyh.basic.log.properties.OptLogProperties
 
pushByKey(String, String) - 类中的方法 org.slf4j.LampMdcAdapter
 
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.SysLogAspect
定义controller切入点拦截规则:拦截标记WebLog注解和指定包下的方法 2个表达式加起来才能拦截所有Controller 或者继承了BaseController的方法 execution(public * top.tangyh.basic.base.controller.*.*(..))
sysLogAspect() - 类中的方法 top.tangyh.basic.log.LogAutoConfiguration
 
SysLogAspect - top.tangyh.basic.log.aspect中的类
操作日志使用spring event异步入库
SysLogAspect() - 类的构造器 top.tangyh.basic.log.aspect.SysLogAspect
 
SysLogEvent - top.tangyh.basic.log.event中的类
系统日志事件
SysLogEvent(OptLogDTO) - 类的构造器 top.tangyh.basic.log.event.SysLogEvent
 
sysLogListener() - 类中的方法 top.tangyh.basic.log.LogAutoConfiguration
 
SysLogListener - top.tangyh.basic.log.event中的类
异步监听日志事件
SysLogListener() - 类的构造器 top.tangyh.basic.log.event.SysLogListener
 

T

ThreadLocalParam - top.tangyh.basic.log.util中的类
线程变量封装的参数
ThreadLocalParam() - 类的构造器 top.tangyh.basic.log.util.ThreadLocalParam
 
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) - enum class中的静态方法 top.tangyh.basic.log.properties.OptLogType
Returns the enum constant of this class with the specified name.
values() - 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|常量字段值|所有程序包|序列化表格