Class Zend_Log_Adapter_Null

Description

Implements interfaces:

Located in /library/Zend/Log/Adapter/Null.php (line 33)


	
			
Method Summary
 Zend_Log_Adapter_Null __construct ()
 void __destruct ()
 bool close ()
 bool flush ($message 0, $level 1)
 bool open ([$optionKey $filename = null], [$optionValue $accessMode = 'a'])
 bool setOption ($optionKey $optionKey, $optionValue $optionValue)
 bool write ($message $fields, $level 1)
Methods
Constructor __construct (line 39)

Class Constructor

  • access: public
Zend_Log_Adapter_Null __construct ()
Destructor __destruct (line 50)

Class Destructor

Always check that the file has been closed and the buffer flushed before destruction.

  • access: public
void __destruct ()
close (line 117)

Closes the file resource for the logfile. Calling this function does not write any buffered data into the log, so flush() must be called before close().

  • return: True
  • access: public
bool close ()
flush (line 105)

Write a message to the log. This function really just writes the message to the buffer.

  • return: True
  • access: public
bool flush ($message 0, $level 1)
  • $message 0: Log message
  • $level 1: Log level, one of Zend_Log::LEVEL_* constants
open (line 77)

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

  • return: True
  • access: public
bool open ([$optionKey $filename = null], [$optionValue $accessMode = 'a'])
  • $optionKey $filename: Key name for the option to be changed. Keys are adapter-specific
  • $optionValue $accessMode: New value to assign to the option
setOption (line 64)

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

  • return: True
  • access: public
bool 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 92)

Write a message to the log. This function really just writes the message to the buffer.

If buffering is enabled, the message won't hit the filesystem until the buffer fills or is flushed. If buffering is not enabled, the buffer will be flushed immediately.

  • return: True
  • access: public
bool write ($message $fields, $level 1)
  • $level 1: Log level, one of Zend_Log::LEVEL_* constants
  • $message $fields: Log message

Documentation generated on Wed, 08 Mar 2006 04:53:50 -0800 by phpDocumentor 1.3.0RC4