This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Steve (author)
Thu Sep 24 10:09:35 -0700 2009
| name | age | message | |
|---|---|---|---|
| |
README.markdown | Wed May 13 14:24:20 -0700 2009 | |
| |
plugins/ | Thu Sep 24 10:09:35 -0700 2009 |
README.markdown
PluginDebug
PluginDebug adds built-in (bolted on?) debug logging to MT's Component.pm.
Configuration
Add the PluginDebug directive to your mt-config.cgi
PluginDebug mypluginid,myotherpluginid
The values are the plugin IDs of the plugins for which you want to turn on debug logging. If you're feeling lazy,
PluginDebug all
will turn on debug logging for any plugin/addon.
Usage
my $plugin = MT->component('mypluginid');
$plugin->debuglog ($msg);
This will add an entry to the System-level Activity Log with level DEBUG() and the message you provided, prefixed with "mypluginid: ". If the plugin id is not in PluginDebug, debuglog() will simply return.







