Log::Report::DBIC::Profiler(3pm)

Log::Report::DBIC::Profiler3pm

Query profiler for dbix::class

Usage

  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';

Inheritance

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

Overview

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

Releases

6 releases since Debian 9 (Stretch); the text changed 5 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

License

For contributors see file ChangeLog.

This software is copyright (c) 2007-2026 by Mark Overmeer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

From perl-log-report 1.46-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.