## Interface Zend_Log_Adapter_Interface

Description

- license: New BSD License
- copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Log/Adapter/Interface.php (line 30)

Method Summary
void close ()
void open ()
void setOption ($optionKey $optionKey, $optionValue $optionValue)
void write ($fields $fields)
Methods
close (line 52)

Close the log storage opened by the log adapter. If the adapter supports buffering, all log data must be sent to the log before the storage is closed.

- access: public

void close ()
open (line 36)

Open the storage resource. If the adapter supports buffering, this may not actually open anything until it is time to flush the buffer.

- access: public

void open ()
setOption (line 61)

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

- access: public

void setOption ($optionKey $optionKey, $optionValue $optionValue)

- $optionKey $optionKey: Key name for the option to be changed. Keys are adapter-specific
- $optionValue $optionValue: New value to assign to the option

write (line 45)

Write a message to the log. If the adapter supports buffering, the message may or may not actually go into storage until the buffer is flushed.

- access: public

void write ($fields $fields)

- $fields $fields: Associative array, contains keys 'message' and 'level' at a minimum.

Documentation generated on Wed, 21 Feb 2007 11:52:28 -0800 by phpDocumentor 1.3.1