[log5-devel] Negation does not work in sender spec

Gary King gwking at metabang.com
Sun Dec 23 00:20:14 UTC 2007


Hi Iya,

Thanks for pointing out this problem and given clues to the solution!  
I'll try to look into this this weekend and post an update.

On Dec 20, 2007, at 2:20 PM, Ilya Perminov wrote:

> Hi,
>
> The following code gives "Variable BAR undefined" error:
> (defcategory foo)
> (defcategory bar)
> (start-sender 'console-log1
>                 (stream-sender :location *error-output*)
>                 :category-spec (and foo (not bar))
>                 :output-spec (category message))
>
> I think the problem is in sender-responds-to-category-p.
> determine-category-variables returns two list, but
> sender-responds-to-category-p does not use the second one
> (negated variables).
>
> Regards,
> Ilya
> _______________________________________________
> log5-devel mailing list
> log5-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/log5-devel

--
Gary Warren King, metabang.com
Cell: (413) 559 8738
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM







More information about the Log5-devel mailing list