or die("Duplication of STDERR for debug output failed (perhaps your STDERR is closed?): $!");
}
- $fh->autoflush();
$self->_debugfh($fh);
}
return if $self->silence;
- $self->debugfh->print($msg);
+ $self->debugfh->printflush($msg);
}
=head2 silence
ok ( $schema->storage->debug(1), 'debug' );
$schema->storage->debugfh($lfn->openw);
-$schema->storage->debugfh->autoflush(1);
$schema->resultset('CD')->count;
my @loglines = $lfn->slurp;