Thank your for this fast answer. As i wrote i am aware that this was just an example. I am just wondering when things going towards standards then why is NULL not considered to be a standard value. NULL is wanted sometimes to express that someting is optional.
Am Donnerstag, 3. November 2016 14:31:52 UTC+1 schrieb Sven Sauleau: > > 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/8e474504-bc28-49bf-9f1f-c6556819a7b3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
