On 21.04.2011 12:08, Jordi Boggiano wrote:
> On 21.04.2011 11:52, Johannes Schmitt wrote:
>>
>>     But there could be getInfo(), getDebug() etc, so I think adding
>>     "add" is indeed a good idea and consistent with our naming conventions.
>>
>>
>> Correct me if I'm wrong, but these methods could never be used to "get"
>> individual log messages? There can only be methods like
>> getAllDebugMessages etc.
> 
> That's right, and they belong to custom handlers rather than the Logger
> class itself anyway. This is not a valid point.

Ok it's not 100% true, DebugLoggerInterface actually has a getLogs() and
countErrors(), again, verbs.

Cheers

-- 
Jordi Boggiano
@seldaek :: http://seld.be/

-- 
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

Reply via email to