With a bit of delay, but I've filed the issues. The links are below:

> * The log method takes a verbosity as second parameter, which is then 
> added to $extraInfo for the ezcLog::log method. I expected the second 
> parameter to be severity instead, but severity is always set to 
> ezcLog::DEBUG. Verbosity can be added to $extraOptions anyway.
> => There is no way to set the severity of a message when using the log 
> method.

http://issues.ez.no/IssueView.php?Id=13452

> * Using ezcDebug::debugHandler as error handler gives a severity as long 
> as the error level is E_USER_*, otherwise it's 'false'. But then the 
> severity is passed as second parameter to the log() method, which uses 
> that as verbosity. This seems really messed up to me...

http://issues.ez.no/IssueView.php?Id=13453

> * ezcDebug::debugHandler is inferior to ezcLog::logHandler. Through 
> logHandler it's possible to add a severity between the square brackets. 
> This feature is not available when using debugHandler.

http://issues.ez.no/IssueView.php?Id=13454

> * The debug HTML output uses verbosity in its output 
> (verbosity:category:source). This can lead to something like this:
> 1:default:default.
> I was under the impression that it used to output the pretty name of 
> ezcLog severity constant (e.g. Error) instead of the verbosity level. 
> The severity is more useful anyway. I can log an error, but the output 
> doesn't tell me it's an error. Instead it tells me it was a verbosity 1 
> message and colours it red based on that. Verbosity level is IMHO a way 
> to control the details of the output, e.g. only output verbosity level 1 
> and 2 and ignore level 3 messages. It's not something that should be 
> shown while the severity is.
> 

http://issues.ez.no/IssueView.php?Id=13455


Regards,
Hans
-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to