Browse files

Improving doc blocks

  • Loading branch information...
1 parent 785c17d commit e9d50ebabb672ddc1ac963d1cf50bdc13f4c8d5c @lorenzo lorenzo committed May 16, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/Cake/Log/Engine/SyslogLog.php
View
6 lib/Cake/Log/Engine/SyslogLog.php
@@ -128,7 +128,8 @@ public function write($type, $message) {
}
/**
- * Wrapper for openlog call
+ * Extracts the call to openlog() in order to run unit tests on it. This function
+ * will initialize the connection to the system logger
*
* @param string $ident the prefix to add to all messages logged
* @param int $options the options flags to be used for logged messages
@@ -140,7 +141,8 @@ protected function _open($ident, $options, $facility) {
}
/**
- * Wrapper for syslog call
+ * Extracts the call to syslog() in order to run unit tests on it. This function
+ * will perform the actual write in the system logger
*
* @param int $priority
* @param string $message

0 comments on commit e9d50eb

Please sign in to comment.