7 Sep
2006
7 Sep
'06
7:32 p.m.
You can also write an external method that performs logging through any kind of logger you might have available in Python and call this external method from anywhere in Zope since ExternalMethods are first-class Zope objects and can be acquired through standard acquisition.
The simple and effective logger for this situation may be external method defined as: def print_this(text): print text Start zope with runzope script and as Anderas said call your external method from anywhere in Zope . You'll see your printed statements in the console. -- Maciej Wisniowski