Skip to content
New issue

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

How to use tracing log in rbatis-v4 version #516

Open
letian-tang opened this issue Apr 18, 2024 · 2 comments
Open

How to use tracing log in rbatis-v4 version #516

letian-tang opened this issue Apr 18, 2024 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@letian-tang
Copy link

letian-tang commented Apr 18, 2024

How to use tracing log in rbatis-v4 version
Because I want to unify the log output of my application。
If the introduction of tracing log is not supported and I want to print sql, do I need to customize the interceptor?

@zhuxiujia
Copy link
Member

did you use Intercept?

@zhuxiujia zhuxiujia added the help wanted Extra attention is needed label Apr 25, 2024
@letian-tang
Copy link
Author

letian-tang commented Apr 30, 2024

@zhuxiujia
Yes, I want to do this
like “intercept_log.rs” , rewrite my interceptor
image

Is this the only way to do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants