Chouette
view release on metacpan or search on metacpan
Similar to "respond" except it doesn't assume JSON encoding:
$c->respond_raw(200, 'text/plain', 'here is some plain text');
"logger"
Returns the Log::Defer object associated with the request:
$c->logger->info("some stuff is happening");
{
my $timer = $c->logger->timer('doing big_computation');
big_computation();
}
See the Log::Defer docs for more details. For viewing the log
messages, check out Log::Defer::Viz.
"config"
Returns the "config" hash. See the "CHOUETTE OBJECT" section for
details.
lib/Chouette.pm view on Meta::CPAN
$c->respond_raw(200, 'text/plain', 'here is some plain text');
=item C<logger>
Returns the L<Log::Defer> object associated with the request:
$c->logger->info("some stuff is happening");
{
my $timer = $c->logger->timer('doing big_computation');
big_computation();
}
See the L<Log::Defer> docs for more details. For viewing the log messages, check out L<Log::Defer::Viz>.
=item C<config>
Returns the C<config> hash. See the L<CHOUETTE OBJECT> section for details.
=item C<req>
( run in 0.580 second using v1.01-cache-2.11-cpan-49f99fa48dc )