Class NoOpOperationLogger
java.lang.Object
org.shoulder.log.operation.logger.impl.NoOpOperationLogger
- All Implemented Interfaces:
OperationLogger
关掉操作日志
- Author:
- lym
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInterceptor(OperationLoggerInterceptor logInterceptor) 注册拦截器voidlog(Collection<? extends OperationLogDTO> opLogList) 记录多条操作日志voidlog(OperationLogDTO opLog) 记录一条操作日志voidlog(OperationLogDTO opLog, List<? extends Operable> operableList) 组装并记录多条操作日志Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.shoulder.log.operation.logger.OperationLogger
log
-
Constructor Details
-
NoOpOperationLogger
public NoOpOperationLogger()
-
-
Method Details
-
log
Description copied from interface:OperationLogger记录一条操作日志- Specified by:
login interfaceOperationLogger- Parameters:
opLog- 操作日志对象
-
log
Description copied from interface:OperationLogger记录多条操作日志- Specified by:
login interfaceOperationLogger- Parameters:
opLogList- 操作日志对象集合
-
log
Description copied from interface:OperationLogger组装并记录多条操作日志- Specified by:
login interfaceOperationLogger- Parameters:
opLog- 记录模板operableList- 被操作对象集合
-
addInterceptor
Description copied from interface:OperationLogger注册拦截器- Specified by:
addInterceptorin interfaceOperationLogger- Parameters:
logInterceptor- 拦截器
-