Log annotations (e.g. @Slf4j) can not be used in interfaces

39 views
Skip to first unread message

4ck0

unread,
Mar 18, 2024, 3:10:22 PMMar 18
to Project Lombok
Hi

I'm wondering, why log annotations (like @Slf4j) can not be used in interfaces.

It can be done with pure java, reason for this is when implementing default method and want to log something. 

Would be nice, if this feature would be supported.

Any thoughs/comments on this issue would be appriciated.

Reply all
Reply to author
Forward
0 new messages