Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

206
Views
Can Lombok or an Aspect add a logger to a lambda using an annotation

I would like to use either an annotation (Lombok) or an aspect to include a logger for all my Java 8 Lambda's and I would like the flexibility of being able to change the logger (Slf4J or other) if I decide I want to do so.

I specifically do not want to inherit it...I do not want to have to define my own Functional interface wrappers in order to do so. So please do not provide an answer with this tack.

So, in short, if I have Lambda's that depend solely on the java.util.function.* interfaces, how would I be able to provide a specific logger per lambda that is woven in, with a Lombok annotation or an aspect?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!