|
@@ -3,13 +3,16 @@ package com.miniframe.service.impl;
|
|
|
import com.miniframe.spring.log.MFLogInfo;
|
|
|
import com.miniframe.spring.service.IMFLogService;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.slf4j.Logger;
|
|
|
+import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
@Slf4j(topic = "Access")
|
|
|
@Service
|
|
|
public class LogServiceImpl implements IMFLogService {
|
|
|
+ private static Logger logger= LoggerFactory.getLogger(LogServiceImpl.class);
|
|
|
@Override
|
|
|
public void processLog(MFLogInfo mfLogInfo) throws Exception {
|
|
|
- log.info(mfLogInfo.toString());
|
|
|
+ logger.info(mfLogInfo.toString());
|
|
|
}
|
|
|
}
|