\Horde_Log_Handler_Firebug

Summary

Methods
Properties
Constants
addFilter()
log()
setOption()
write()
__construct()
flush()
No public properties found
No constants found
No protected methods found
$_options
$_filters
$_formatter
$_buffer
$_methods
N/A
No private methods found
No private properties found
N/A

Properties

$_options

$_options : array

Options to be set by setOption().

Type

array

$_filters

$_filters : array

List of filter objects.

Type

array

$_formatter

$_formatter : \Horde_Log_Formatter

Formats the log message before writing.

Type

\Horde_Log_Formatter

$_buffer

$_buffer : string

Array of buffered output.

Type

string

$_methods

$_methods : array

Mapping of log priorities to Firebug methods.

Type

array

Methods

addFilter()

addFilter(\Horde_Log_Filter  $filter) 

Add a filter specific to this handler.

Parameters

\Horde_Log_Filter $filter

Filter to add.

log()

log(array  $event) 

Log a message to this handler.

Parameters

array $event

Log event.

setOption()

setOption(string  $optionKey, mixed  $optionValue) : boolean

Sets an option specific to the implementation of the log handler.

Parameters

string $optionKey

Key name for the option to be changed. Keys are handler-specific.

mixed $optionValue

New value to assign to the option

Throws

\Horde_Log_Exception

Returns

boolean —

True.

write()

write(array  $event) : boolean

Write a message to the firebug console. This function really just writes the message to the buffer. If buffering is enabled, the message won't be output until the buffer is flushed. If buffering is not enabled, the buffer will be flushed immediately.

Parameters

array $event

Log event.

Returns

boolean —

True.

__construct()

__construct(\Horde_Log_Formatter  $formatter = null) 

Class Constructor

Parameters

\Horde_Log_Formatter $formatter

Log formatter.

flush()

flush() 

Flush the buffer.