[log5-devel] Negation does not work in sender spec
Ilya Perminov
iperminov at dwavesys.com
Thu Dec 20 19:20:48 UTC 2007
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
More information about the Log5-devel
mailing list