We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.5.9
String logId = id; if (configuration.getLogPrefix() != null) { logId = configuration.getLogPrefix() + id; } mappedStatement.statementLog = LogFactory.getLog(logId); 当前获取日志对象使用的全限定名+方法名 全限定名+方法名导致在idea中无法通过点击类名快速定位到目标类
String logId = id; if (configuration.getLogPrefix() != null) { logId = configuration.getLogPrefix() + id; } mappedStatement.statementLog = LogFactory.getLog(logId);
使用类的全限定名作为日志传参
类的全限定名+方法名传参
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
No branches or pull requests
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
类的全限定名+方法名传参
The text was updated successfully, but these errors were encountered: