| 57 | |
| 58 | == Component member variables == |
| 59 | |
| 60 | Every component that gets instantiated through the Trac environment gets three extra member variables for convenience: |
| 61 | |
| 62 | * {{{env}}}: The environment, an instance of the {{{trac.env.Environment}}} class (see [source:/trunk/trac/env.py trac.env]). |
| 63 | * {{{config}}}: The configuration, an instance of the {{{trac.config.Configuration}}} class (see [source:/trunk/trac/config.py trac.config]). |
| 64 | * {{{log}}}: The configured logger, see the Python [http://docs.python.org/lib/module-logging.html logging API] for more information. |