Commit f42fd0fb authored by Andreas Jung's avatar Andreas Jung

zLOG

parent 63f57206
...@@ -99,8 +99,9 @@ TransientObjectContainer - Manage ...@@ -99,8 +99,9 @@ TransientObjectContainer - Manage
An example of an External Method used as a delete script:: An example of an External Method used as a delete script::
def deleteScript(item, container): def deleteScript(item, container):
from zLOG import LOG from logging import getLogger
LOG(100, 'test', 'id: %s' % item.getId()) LOG = getLogger('test')
LOG.info('id: %s' % item.getId())
See Also See Also
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment