GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LOG::REPORT::DBIC::PROFILER (3)

.ds Aq ’

NAME

Log::Report::DBIC::Profiler - query profiler for DBIx::Class

CONTENTS

INHERITANCE



 Log::Report::DBIC::Profiler
   is a DBIx::Class::Storage::Statistics



SYNOPSIS



  use Log::Report::DBIC::Profiler;
  $schema->storage->debugobj(Log::Report::DBIC::Profiler->new);
  $schema->storage->debug(1);

  # And maybe (if no exceptions expected from DBIC)
  $schema->exception_action(sub { panic @_ });
 
  # Log to syslog
  use Log::Report;
  dispatcher SYSLOG => myapp
    , identity => myapp
    , facility => local0
    , flags    => "pid ndelay nowait"
    , mode     => DEBUG;



DESCRIPTION

This profile will log DBIx::Class queries via Log::Report to a selected back-end (via a dispatcher, see Log::Report::Dispatcher)

SEE ALSO

This module is part of Log-Report distribution version 1.13, built on February 03, 2016. Website: http://perl.overmeer.net/log-report/

LICENSE

Copyrights 2007-2016 by [Mark Overmeer]. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 LOG::REPORT::DBIC::PROFILER (3) 2016-02-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.