ananto30 / loggable Goto Github PK
View Code? Open in Web Editor NEWA logging annotation library for reactive java
A logging annotation library for reactive java
I put the logger annotation and logger aspect in my project and also annotated method in my controller but nothing happens, i tried also with code on git-hub repo but nothing changed.
When I try to debug debugger don't get to this point?
do u have any idea?
Hey @Ananto30 Thanks for the great explanation and project.I am able to use with Around aspect successfully. It would be great if you can provide some example around other Advices as well thanks.
I tried to use below
@Before(value = "execution(* com.abc.xyz..restclients...*(..))")
fun logBeforeAllMethods(joinPoint: JoinPoint) {
log.info("Request : " + joinPoint.signature.declaringTypeName + Arrays.toString(joinPoint.args))
}
@AfterReturning(value = "execution(* com.abc.xyz..restclients..*(..))")
fun logAfterAllMethods(joinPoint: JoinPoint) {
log.info("Response : " + joinPoint.signature.declaringTypeName + Arrays.toString(joinPoint.args))
}
But both are printing same values expectation is print method input and output.
Hi @Ananto30 ,
Thank you for your annotation. Since I am pretty beginner to entire Spring stack it was helpful to understand via your thorough explanation. However, I have trouble running your code snippets.
Basically, I imported everything in my project however cannot directly use @loggable in my controller and get following error.
error: annotation type not applicable to this kind of declaration
@loggable
Since I am beginner and perhaps making some stupid mistakes.
Thank You
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.