MyBatis version
3.5.9
Steps to reproduce
String logId = id;
if (configuration.getLogPrefix() != null) {
logId = configuration.getLogPrefix() + id;
}
mappedStatement.statementLog = LogFactory.getLog(logId);
当前获取日志对象使用的全限定名+方法名
全限定名+方法名导致在idea中无法通过点击类名快速定位到目标类
Expected result
使用类的全限定名作为日志传参
Actual result
类的全限定名+方法名传参
Comment From: harawata
Hello @hujun-e ,
Fully qualified name + method name allows users to fine-tune logging levels for each statement. So, we are not going to change that.
Closing as won't fix.
p.s. Please use English in our projects. Thank you.