You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by gr...@apache.org on 2009/08/24 07:53:18 UTC

svn commit: r807080 - /incubator/log4php/trunk/src/main/php/appenders/LoggerAppenderPDO.php

Author: grobmeier
Date: Mon Aug 24 05:53:18 2009
New Revision: 807080

URL: http://svn.apache.org/viewvc?rev=807080&view=rev
Log:
reverted remove of setuser and setpassword, sorry

Modified:
    incubator/log4php/trunk/src/main/php/appenders/LoggerAppenderPDO.php

Modified: incubator/log4php/trunk/src/main/php/appenders/LoggerAppenderPDO.php
URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/main/php/appenders/LoggerAppenderPDO.php?rev=807080&r1=807079&r2=807080&view=diff
==============================================================================
--- incubator/log4php/trunk/src/main/php/appenders/LoggerAppenderPDO.php (original)
+++ incubator/log4php/trunk/src/main/php/appenders/LoggerAppenderPDO.php Mon Aug 24 05:53:18 2009
@@ -154,6 +154,22 @@
     }
     
     /**
+     * Sets the username for this connection. 
+     * Defaults to ''
+     */
+    public function setUser($user) {
+        $this->user = $user;
+    }
+    
+    /**
+     * Sets the password for this connection. 
+     * Defaults to ''
+     */
+    public function setPassword($password) {
+        $this->password = $password;
+    }
+    
+    /**
      * Indicator if the logging table should be created on startup,
      * if its not existing.
      */