fenics team mailing list archive
-
fenics team
-
Mailing list archive
-
Message #00370
Logging in Python
I highly recommend that all Python projects in FEniCS use the module
"logging" that comes with Python from version 2.3. It is very simple
and very flexible, in particular for creating cross-module logs. For
the most basic usage, look at output.py and the tests in UFL.
Basic tutorial (good site for handy python modules):
http://blog.doughellmann.com/2007/05/pymotw-logging.html
Reference:
http://docs.python.org/lib/module-logging.html
--
Martin
Follow ups