Class Horde_Log_Handler_Stream

Description

Located in /Log/lib/Horde/Log/Handler/Stream.php (line 25)

Horde_Log_Handler_Base
   |
   --Horde_Log_Handler_Stream
Variable Summary
Method Summary
 Horde_Log_Handler_Stream __construct (mixed $streamOrUrl, [string $mode = 'a+'])
 bool write (array $event)
Variables
Horde_Log_Formatter_Interface $_formatter (line 31)

Formats the log message before writing.

  • access: protected
null|stream $_stream = null (line 37)

Holds the PHP stream to log to.

  • access: protected

Inherited Variables

Inherited from Horde_Log_Handler_Base

Horde_Log_Handler_Base::$_filters
Horde_Log_Handler_Base::$_options
Methods
Constructor __construct (line 45)

Class Constructor

  • access: public
Horde_Log_Handler_Stream __construct (mixed $streamOrUrl, [string $mode = 'a+'])
  • mixed $streamOrUrl: Stream or URL to open as a stream
  • string $mode: Mode, only applicable if a URL is given
write (line 73)

Write a message to the log.

  • return: Always True
  • access: public
bool write (array $event)
  • array $event: Log event

Redefinition of:
Horde_Log_Handler_Base::write()
Buffer a message to be stored in the storage implemented by this handler.

Inherited Methods

Inherited From Horde_Log_Handler_Base

 Horde_Log_Handler_Base::addFilter()
 Horde_Log_Handler_Base::log()
 Horde_Log_Handler_Base::setOption()
 Horde_Log_Handler_Base::write()

Documentation generated on Sun, 30 Jan 2011 05:22:24 +0000 by phpDocumentor 1.4.3