Skip to content

Commit

Permalink
regenerated aux files
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Gruenauer committed Dec 15, 2009
1 parent c578f7e commit 15a0308
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 9 deletions.
2 changes: 1 addition & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ share/debug_toolbar/toolbar.css
share/debug_toolbar/toolbar.js
share/debug_toolbar/toolbar.min.css
share/debug_toolbar/toolbar.min.js
t/01_misc.t
t/01_basic.t
xt/author/00_compile.t
xt/author/01_perl_critic.t
xt/author/02_pod.t
Expand Down
25 changes: 21 additions & 4 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,27 @@ DESCRIPTION
$app;
};

If you pass a list of panel base names to the "enable()" call, only
those panels will be enabled. If you don't pass an argument, the default
list of panels - "Environment", "Response", "Timer" and "Memory" - will
be enabled.
The "Debug" middleware takes an optional "panels" argument whose value
is expected to be a list of panel names. If given, only those panels
will be enabled. If you don't pass a "panels" argument, the default list
of panels - "Environment", "Response", "Timer" and "Memory" - will be
enabled.

There is also the possiblity to pass arguments to the panels themselves.
For example, the "DBITrace" panel takes an optional "level" argument to
specify the desired trace level.

To pass arguments to a panel, expand the panel name to an array
reference whose first element is the panel name and whose remaining
elements are key/value pairs to be passed to the panel. For example:

builder {
enable 'Debug', panels =>
[ qw(Environment Response Timer Memory),
[ 'DBITrace', level => 2 ]
];
$app;
};

PANELS
"DBITrace"
Expand Down
24 changes: 20 additions & 4 deletions README.mkdn
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,26 @@ file:
$app;
};

If you pass a list of panel base names to the `enable()` call, only those
panels will be enabled. If you don't pass an argument, the default list of
panels - `Environment`, `Response`, `Timer` and `Memory` - will be
enabled.
The `Debug` middleware takes an optional `panels` argument whose value is
expected to be a list of panel names. If given, only those panels will be
enabled. If you don't pass a `panels` argument, the default list of panels -
`Environment`, `Response`, `Timer` and `Memory` - will be enabled.

There is also the possiblity to pass arguments to the panels themselves. For
example, the `DBITrace` panel takes an optional `level` argument to specify
the desired trace level.

To pass arguments to a panel, expand the panel name to an array reference
whose first element is the panel name and whose remaining elements are
key/value pairs to be passed to the panel. For example:

builder {
enable 'Debug', panels =>
[ qw(Environment Response Timer Memory),
[ 'DBITrace', level => 2 ]
];
$app;
};

# PANELS

Expand Down

0 comments on commit 15a0308

Please sign in to comment.