12:08am PST - November 25th, 2021

Design Question on #phpfig #PSR3 (Logger) - Is the LoggerAwareInterface right for new code? By intuition, I would rather make the logger non-nullable and have one constructor argument accept LoggerInterface|null and default to the NullLogger. Allows unconditional logging calls.

0 retweets   0 likes  - Ralf Lang (@ralf_lang)