Hi, The goal of the php-fig/log repository is to provide interfaces and more globally a standard for logging. You are pointing out an implementation issue.
The code you saw in the README is only an example. A real example would be like https://github.com/Seldaek/monolog/blob/7ce63f964426a57b6a1c213d45e05eef1f013c54/src/Monolog/ErrorHandler.php#L42 (also from Seldaek). Le vendredi 4 novembre 2016 06:16:34 UTC+6, [email protected] a écrit : > > Can you guys please answer this question to me > > http://stackoverflow.com/questions/40401259/psr-log-why-no-null-default-value-for-loggerawareinterface-and-loggerawaretraiace > > and LoggerAwareTrait > > Thank you > -- You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/b9b6e08e-16fa-42d0-b1e2-498eb6769ce6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
