[Opensrf-commits] r2028 - trunk/src/perl/lib/OpenSRF/Utils (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Sep 27 20:04:20 EDT 2010


Author: miker
Date: 2010-09-27 20:04:19 -0400 (Mon, 27 Sep 2010)
New Revision: 2028

Modified:
   trunk/src/perl/lib/OpenSRF/Utils/Logger.pm
Log:
return the trace-augmented message as written to the log

Modified: trunk/src/perl/lib/OpenSRF/Utils/Logger.pm
===================================================================
--- trunk/src/perl/lib/OpenSRF/Utils/Logger.pm	2010-09-17 16:08:18 UTC (rev 2027)
+++ trunk/src/perl/lib/OpenSRF/Utils/Logger.pm	2010-09-28 00:04:19 UTC (rev 2028)
@@ -255,6 +255,8 @@
 		if( is_syslog() ) { syslog( $fac | $l, $msg ); }
 		elsif( is_filelog() ) { _write_file($msg); }
 	}
+
+	return $msg;
 }
 
 sub _write_file {



More information about the opensrf-commits mailing list