logging from severl classes

Vinay Sajip vinay_sajip at yahoo.co.uk
Tue Dec 28 01:30:58 CET 2004


It works for me:

#file3.py
import file1
import file2

a = file1.A()
b = file2.B()
b.otherfunction()

gives

2004-12-28 00:18:34,805 DEBUG file2 6 creating class B
2004-12-28 00:18:34,805 DEBUG file2 9 in otherfunction




More information about the Python-list mailing list