The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Class::ReluctantORM::Monitor::Dump - Dump SQL structures

SYNOPSIS

  use aliased 'Class::ReluctantORM::Monitor::Dump' => 'Monitor::Dump';

  # Create a new monitor - dumps everything, all the time, to STDERR
  my $mon = Monitor::Dump->new();

  # List of things you can dump
  my $mon = Monitor::Dump->new(what => qw(sql_object statement binds row));

  # When you can dump them
  my $mon = Monitor::Dump->new(when => qw(render_begin render_transform ...));

DESCRIPTION

Dumps structures to the log.

This is a basic (non-Measuring) Monitor.

CONSTRUCTOR

$mon = Monitor::Dump->new(%monitor_args);

Creates a Dump monitor.

Identical to the usual defaults for a Monitor (all events, all data to the log) EXCEPT that the 'log' option is given a default of 'STDERR'.