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
insert或者update的SQL日志在字段值较小时,日志很清晰。但是如果某个字段值包含几千个文本的时候,整个日志就基本没法看了,尤其是在循环中插入或者更新的话。
不知道这个修改是要在mybatis还是mybatis plus中做。可以在打印前判断如果是字符串类型的,而且长度超过了比如200个,就自动截断,后缀...表示过长,截断了。
这样的话,整个日志的就会很整洁,可读性很高。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
insert或者update的SQL日志在字段值较小时,日志很清晰。但是如果某个字段值包含几千个文本的时候,整个日志就基本没法看了,尤其是在循环中插入或者更新的话。
不知道这个修改是要在mybatis还是mybatis plus中做。可以在打印前判断如果是字符串类型的,而且长度超过了比如200个,就自动截断,后缀...表示过长,截断了。
这样的话,整个日志的就会很整洁,可读性很高。
The text was updated successfully, but these errors were encountered: