[PD-dev] status of verbose() in 0.43?

Hans-Christoph Steiner hans at at.or.at
Wed Feb 16 04:53:39 CET 2011


On Feb 15, 2011, at 10:53 AM, IOhannes m zmoelnig wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2011-02-15 16:15, Hans-Christoph Steiner wrote:
>>
>>> I get the ranked levels, that stuff make sense.  I am wondering  
>>> about
>>> the algorithm.  In both C and Tcl, the verbose() posting is adding  
>>> 4 to
>>> the level value, so that means if people are doing verbose(4, "my
>>> message"), it actually gets set to (8, "my message"), and from  
>>> what I
>>> see, then it never gets printed, since the available display  
>>> levels are
>>> 0-5.
>
>
> yes, that (having only display-levels 0-5) is probably a problem/bug.
> maybe it would be good to have a level "all".


Do you remember why those "incr 4" and "level+4" are there to begin  
with?  I think removing that is the best solution, and then leave 0-5  
levels.  That way 5=all.

.hc

----------------------------------------------------------------------------

                                               http://at.or.at/hans/





More information about the Pd-dev mailing list