Skip to content

Commit

Permalink
Fixing docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed May 15, 2013
1 parent 1d61e21 commit 785c17d
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions lib/Cake/Log/Engine/SyslogLog.php
Expand Up @@ -36,7 +36,10 @@ class SyslogLog extends BaseLog {
* this logger
*
* If you wish to include a prefix to all messages, for instance to identify the
* application or the web server, then use the prefix option.
* application or the web server, then use the prefix option. Please keep in mind
* the prefix is shared by all streams using syslog, as it is dependent of
* the running process. For a local prefix, to be used only by one stream, you
* can use the format key.
*
* ## Example:
*
Expand Down Expand Up @@ -127,8 +130,9 @@ public function write($type, $message) {
/**
* Wrapper for openlog call
*
* @param int $priority
* @param sting $output
* @param string $ident the prefix to add to all messages logged
* @param int $options the options flags to be used for logged messages
* @param int $facility the stream or facility to log to
* @return void
*/
protected function _open($ident, $options, $facility) {
Expand All @@ -139,11 +143,11 @@ protected function _open($ident, $options, $facility) {
* Wrapper for syslog call
*
* @param int $priority
* @param sting $output
* @param string $message
* @return bool
*/
protected function _write($priority, $output) {
return syslog($priority, $output);
protected function _write($priority, $message) {
return syslog($priority, $message);
}

/**
Expand Down

0 comments on commit 785c17d

Please sign in to comment.