Home > Net > About the build log module, don't know how you currently solution, welcome to discuss, guidance
About the build log module, don't know how you currently solution, welcome to discuss, guidance
Time:12-31
As a result of the separation before and after the project is So in log this for the moment I'm click on the way to achieve: 1. The front access log structure to realize, by visiting the routing request API will log write, 2. The service side is injected at the time of permissions to intercept the log function, and write,
Don't know how you currently plan and hope to share refer to
CodePudding user response:
Methods varied, But for my personal use, annotations way, Through annotation, record method execution logs,
Here is the Java code, On the same principle, Yourself to achieve the Log notes, is some reflection into the, method name, the execution result,