Am 21.04.2011 12:47, schrieb Johannes Schmitt: > For the method names, I think they need to be viewed in combination with > the variable they are called on, e.g. > > $logger->log() vs. $logger->addRecord() > $logger->debug() vs. $logger->addDebug() > etc. >
Personally I would prefer $log->addWarning() over $log->warning() because I feel the object I am using is a log and not a logger (even if it is the logger which is doing the work) -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
