Edgewall Software

Changes between Version 53 and Version 54 of TracDev/PluginDevelopment


Ignore:
Timestamp:
Oct 8, 2010, 8:21:59 PM (14 years ago)
Author:
Itamar Ostricher
Comment:

added reference to TracDeveloperPlugin @ trac-hacks.org for easier access to the log during development

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/PluginDevelopment

    v53 v54  
    197197This will implicitly use the `self.env` Environment, but your component name will now be used for the $module (see TracLogging#LogFormat). This makes it easier to identify the relevant debug lines.
    198198
     199During development it might become inconvenient to follow the log file. Consider using [th:TracDeveloperPlugin] to access the log directly in the web browser.
     200
    199201Note that there's no way to log something at the global level, outside the scope of a Trac environment, as the configuration of logging is done at that level and usually the log file is located in `$tracenv/log/trac.log`.
    200202