Hacker News new | past | comments | ask | show | jobs | submit login

You solve that with constructors that inject the logger one time, as a matter of convenience. This has all the convenience of a global without the hazards.



Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: