!268 将控制器基类的日志设置成 this.getClass(),这样在日志里就可以记录是在哪个控制器记录的

Merge pull request !268 from phper08/master
master
若依 2021-03-13 10:13:06 +08:00 committed by Gitee
commit 27a3083e80
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ import com.ruoyi.common.utils.sql.SqlUtil;
*/
public class BaseController
{
protected final Logger logger = LoggerFactory.getLogger(BaseController.class);
protected final Logger logger = LoggerFactory.getLogger(this.getClass());
/**
* Date