[Bps-public-commit] r13203 - in Shipwright/trunk: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Jun 12 10:17:13 EDT 2008


Author: sunnavy
Date: Thu Jun 12 10:17:11 2008
New Revision: 13203

Modified:
   Shipwright/trunk/   (props changed)
   Shipwright/trunk/lib/Shipwright/Test.pm

Log:
 r13312 at sunnavys-mb:  sunnavy | 2008-06-12 22:00:09 +0800
 added init method to init logger for tests


Modified: Shipwright/trunk/lib/Shipwright/Test.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Test.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Test.pm	Thu Jun 12 10:17:11 2008
@@ -61,6 +61,19 @@
 
 1;
 
+
+=head2 init
+
+init something, like log
+
+=cut
+
+sub init {
+    my $class = shift;
+    require Shipwright::Logger;
+    Shipwright::Logger->new( log_level => 'FATAL' );
+}
+
 __END__
 
 =head1 NAME



More information about the Bps-public-commit mailing list