API Documentation

Log/Writer/ZendMonitor.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Log
subpackage
Writer
version
$Id: ZendMonitor.php 22533 2010-07-07 02:38:14Z ramon $
Classes
Zend_Log_Writer_ZendMonitor

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Log_Writer_ZendMonitor

Extends from
Zend_Log_Writer_Abstract
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Log
subpackage
Writer
version
$Id: ZendMonitor.php 22533 2010-07-07 02:38:14Z ramon $
Properties
$_isEnabled
Methods
__construct
factory
isEnabled
write
_write

Description

Properties

$_isEnabled

bool $_isEnabled = 'true'

Is Zend Monitor enabled?

Details

$_isEnabled
bool
visibility
protected
default
true
final
false
static
false

Methods

__construct

__construct( ) :

Details
visibility
public
final
false
static
false
throws
if Zend Monitor extension not present

_write

_write( array $event ) : void

Write a message to the log.

Arguments
$event
array
log data event
Details
visibility
protected
final
false
static
false

factory

factory( array|Zend_Config $config ) : Zend_Log_Writer_Syslog

Create a new instance of Zend_Log_Writer_ZendMonitor

Arguments
$config
arrayZend_Config
Details
visibility
public
final
false
static
true
throws

isEnabled

isEnabled( ) : bool

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 writer is enabled.

Output
bool
Details
visibility
public
final
false
static
false

write

write( array $event ) : void

Log a message to this writer.

Arguments
$event
array
log data event
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.