Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
[ZF-10081] Zend_Log:
Browse files Browse the repository at this point in the history
- fixed warning ZendPlatform


git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22531 44c647ce-9c0f-0410-b52a-842ac1e357ba
  • Loading branch information
ramon committed Jul 7, 2010
1 parent 0731d95 commit 829cfe1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Writer/ZendMonitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function __construct()

/**
* Create a new instance of Zend_Log_Writer_ZendMonitor
*
*
* @param array|Zend_Config $config
* @return Zend_Log_Writer_Syslog
* @throws Zend_Log_Exception
Expand All @@ -64,10 +64,10 @@ static public function factory($config)
/**
* Is logging to this writer enabled?
*
* If the Zend Monitor extension is not enabled, this log writer will
* fail silently. You can query this method to determine if the log
* If the Zend Monitor extension is not enabled, this log writer will
* fail silently. You can query this method to determine if the log
* writer is enabled.
*
*
* @return bool
*/
public function isEnabled()
Expand Down Expand Up @@ -103,7 +103,7 @@ protected function _write($event)
unset($event['priority'], $event['message']);

if (!empty($event)) {
monitor_custom_event($priority, $message, $event);
monitor_custom_event($priority, $message, false, $event);
} else {
monitor_custom_event($priority, $message);
}
Expand Down

0 comments on commit 829cfe1

Please sign in to comment.