[Jifty-commit] r6774 - Jifty-DBI/trunk/lib/Jifty/DBI

Jifty commits jifty-commit at lists.jifty.org
Tue Apr 14 19:46:55 EDT 2009


Author: ruz
Date: Tue Apr 14 19:46:55 2009
New Revision: 6774

Modified:
   Jifty-DBI/trunk/lib/Jifty/DBI/Handle.pm

Log:
* move log method

Modified: Jifty-DBI/trunk/lib/Jifty/DBI/Handle.pm
==============================================================================
--- Jifty-DBI/trunk/lib/Jifty/DBI/Handle.pm	(original)
+++ Jifty-DBI/trunk/lib/Jifty/DBI/Handle.pm	Tue Apr 14 19:46:55 2009
@@ -238,6 +238,21 @@
     return $self->dbh->{PrintError};
 }
 
+=head2 log MESSAGE
+
+Takes a single argument, a message to log.
+
+Currently prints that message to STDERR
+
+=cut
+
+sub log {
+    my $self = shift;
+    my $msg  = shift;
+    warn $msg . "\n";
+
+}
+
 =head2 log_sql_statements BOOL
 
 Takes a boolean argument. If the boolean is true, it will log all SQL
@@ -1250,21 +1265,6 @@
 
 }
 
-=head2 log MESSAGE
-
-Takes a single argument, a message to log.
-
-Currently prints that message to STDERR
-
-=cut
-
-sub log {
-    my $self = shift;
-    my $msg  = shift;
-    warn $msg . "\n";
-
-}
-
 =head2 canonical_true
 
 This returns the canonical true value for this database. For example, in SQLite


More information about the Jifty-commit mailing list