SimpleTAL API

Documentation on how to use the SimpleTAL API.

SimpleTAL consists of four different modules: simpleTAL, simpleTALES, and simpleTALUtils.  The API for each of these modules is documented separately:

Logging in SimpleTAL

To control the output of logging messages from SimpleTAL it is necessary to retrieve the logger objects for each module, which can be done using:

simpleTALLogger = logging.getLogger ("simpleTAL")
simpleTALESLogger = logging.getLogger ("simpleTALES")

The configuration of these loggers can then be adjusted as described in the logging library documentation.  For example to stop warnings being logged:

simpleTALLogger.setLevel (logging.ERROR)
simpleTALESLogger.setLevel (logging.ERROR)

Back to SimpleTAL

PubTal Version