Permalink
Browse files

Fixing code formatting in `Syslog` adapter.

  • Loading branch information...
1 parent 5a443ab commit c3ec422f2a612727229cf46484e14e81426cbd02 @nateabele nateabele committed Dec 9, 2009
Showing with 4 additions and 3 deletions.
  1. +4 −3 libraries/lithium/util/audit/logger/adapters/Syslog.php
@@ -45,11 +45,12 @@ public function __construct($config = array()) {
*/
public function write($type, $message) {
if (static::$_lastOpenedBy != $type) {
- closelog(); // Close previously opened log (doesn't matter if none opened)
- openlog($this->_config['identity'], $this->_config['options'], $this->_config['facility']);
+ closelog();
+ openlog(
+ $this->_config['identity'], $this->_config['options'], $this->_config['facility']
+ );
static::$_lastOpenedBy = $type;
}
-
$priority = $this->_config['priority'];
return function($self, $params, $chain) use ($priority) {

0 comments on commit c3ec422

Please sign in to comment.