Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

DI logging is continent to just add extra context to the logs but I agree on static Log being always accessible in the same way everywhere


In Java, Lombok @Slf4j on a class is very convenient. Adds a static field for the logger.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: