Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

211
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda