[pLog-svn] r7250 - plog/branches/lifetype-1.2/class/logger/layout
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Wed Oct 14 02:14:15 EDT 2020
Author: jondaley
Date: 2020-10-14 02:14:15 -0400 (Wed, 14 Oct 2020)
New Revision: 7250
Modified:
plog/branches/lifetype-1.2/class/logger/layout/patternlayout.class.php
Log:
fixed php7 bug
Modified: plog/branches/lifetype-1.2/class/logger/layout/patternlayout.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/logger/layout/patternlayout.class.php 2020-10-14 05:37:34 UTC (rev 7249)
+++ plog/branches/lifetype-1.2/class/logger/layout/patternlayout.class.php 2020-10-14 06:14:15 UTC (rev 7250)
@@ -116,7 +116,7 @@
*
* @return string A formatted log message.
*/
- function format (&$message)
+ function &format (&$message)
{
$pattern = str_replace( "%c", $message->class, $this->pattern );
$pattern = str_replace( "%d", strftime("%d-%m-%Y %H:%M:%S", time()), $pattern );
@@ -135,4 +135,4 @@
return( $pattern );
}
}
-?>
\ No newline at end of file
+?>
More information about the pLog-svn
mailing list