Log::R...rofiler(3pm)
π¦ Log::R...rofiler(3pm) β the manual page, but make it make sense
okay bestie so this is the Log::R...rofiler(3pm) page from the User Contributed Perl Documentation β section 3pm, where all the Perl module lore lives β¨ pull up a chair, this one's short and sweet but it's so useful.
π NAME π
Log::Report::DBIC::Profiler β a query profiler for DBIx::Class, periodt π₯
πΈ INHERITANCE πΈ
Log::Report::DBIC::Profiler is a DBIx::Class::Storage::Statistics
so it's literally in that family tree, it inherited the whole Storage::Statistics thing, no cap π«Ά
β¨ SYNOPSIS β¨
here's the whole vibe, copy-paste coded exactly as the original:
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';
likeβ¦ the debugobj line installs the profiler, debug(1) turns it on, and if you're not expecting DBIC to throw exceptions you can drop that exception_action line to panic @_ β and boom, syslog mode if that's your thing π
π DESCRIPTION π
This profile will log DBIx::Class queries via Log::Report to a selected back-end β and it gets there through a dispatcher, so go peek at Log::Report::Dispatcher if you wanna know the how. it's giving "plug it in, pick your fave destination, watch the queries flow by" π
π SEE ALSO π
This module is part of Log-Report version 1.46, built on June 16, 2026 π
Website: http://perl.overmeer.net/CPAN/
π 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.
fr fr, it's free β same terms as Perl 5, so go wild (responsibly) π
and that's the whole page bestie π built against perl v5.40.1, dated 2026-07-05, and yeah β the manual page really does get abbreviated to Log::R...rofiler(3pm) for the header and footer, which is honestly kind of iconic in a cursed way π go log those queries, slay π§
π¦ where this page comes from
- ubuntu stonking: liblog-report-perl 1.46-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms