[Zope] Calling zLOG.LOG from DTML?

Stuart 'Zen' Bishop zen@cs.rmit.edu.au
Sat, 9 Oct 1999 15:04:33 +1000 (EST)


I'm working some ZClass constructors, and hoped to generate LOG messages
at various points to help me debug various namespace issues. I was
hopeing the following syntax would work:

<dtml-call "_.zLOG.LOG('ZODB',100,'This is it!')">

No dice though - I guess the zLOG module isn't imported in the necessary
spots. Can anyone think of a simple way of getting this going, or do
I need to write a product to implement a <dtml-log> tag?

 ___
   //     Zen (alias Stuart Bishop)     Work: zen@cs.rmit.edu.au
  // E N  Senior Systems Alchemist      Play: zen@shangri-la.dropbear.id.au
 //__     Computer Science, RMIT 	 WWW: http://www.cs.rmit.edu.au/~zen