API Documentation

Log/Writer/Firebug.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: Firebug.php 23068 2010-10-10 00:00:43Z cadorn $
Classes
Zend_Log_Writer_Firebug

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_Firebug

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
Properties
$_priorityStyles
$_defaultPriorityStyle
$_enabled
Methods
__construct
factory
setEnabled
getEnabled
setDefaultPriorityStyle
getDefaultPriorityStyle
setPriorityStyle
getPriorityStyle
_write

Description

Writes log messages to the Firebug Console via FirePHP.

Properties

$_defaultPriorityStyle

string $_defaultPriorityStyle = 'Zend_Wildfire_Plugin_FirePhp'

The default logging style for un-mapped priorities

Details

$_defaultPriorityStyle
string
visibility
protected
default
Zend_Wildfire_Plugin_FirePhp
final
false
static
false

$_enabled

boolean $_enabled = 'true'

Flag indicating whether the log writer is enabled

Details

$_enabled
boolean
visibility
protected
default
true
final
false
static
false

$_priorityStyles

array $_priorityStyles = 'array'

Maps logging priorities to logging display styles

Details

$_priorityStyles
array
visibility
protected
default
array
final
false
static
false

Methods

__construct

__construct( ) :

Class constructor

Details
visibility
public
final
false
static
false

_write

_write( array $event ) : void

Log a message to the Firebug Console.

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

factory

factory( array|Zend_Config $config ) : Zend_Log_Writer_Firebug

Create a new instance of Zend_Log_Writer_Firebug

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

getDefaultPriorityStyle

getDefaultPriorityStyle( ) : string

Get the default display style for user-defined priorities

Output
string
Returns the default log display style
Details
visibility
public
final
false
static
false

getEnabled

getEnabled( ) : boolean

Determine if the log writer is enabled.

Output
boolean
Returns TRUE if the log writer is enabled.
Details
visibility
public
final
false
static
false

getPriorityStyle

getPriorityStyle( int $priority ) : string|boolean

Get a display style for a logging priority

Arguments
$priority
int
The logging priority
Output
string|boolean
The logging display style if defined or FALSE otherwise
Details
visibility
public
final
false
static
false

setDefaultPriorityStyle

setDefaultPriorityStyle( string $style ) : string

Set the default display style for user-defined priorities

Arguments
$style
string
The default log display style
Output
string
Returns previous default log display style
Details
visibility
public
final
false
static
false

setEnabled

setEnabled( boolean $enabled ) : boolean

Enable or disable the log writer.

Arguments
$enabled
boolean
Set to TRUE to enable the log writer
Output
boolean
The previous value.
Details
visibility
public
final
false
static
false

setPriorityStyle

setPriorityStyle( int $priority, string $style ) : string|boolean

Set a display style for a logging priority

Arguments
$priority
int
The logging priority
$style
string
The logging display style
Output
string|boolean
The previous logging display style if defined or TRUE otherwise
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.