Modules

abstract Kohana_Log_Writer

Log writer abstract class. All Kohana_Log writers must extend this class.

package
Kohana
category
Logging
author
Kohana Team
copyright
© 2008-2010 Kohana Team
license
http://kohanaframework.org/license

Class declared in SYSPATH/classes/kohana/log/writer.php on line 11.

Constants

  • None

Properties

  • None

Methods

final public __toString( ) (defined in Kohana_Log_Writer)

Allows the writer to have a unique key when stored.

echo $writer;

Return Values

  • string

Source Code

final public function __toString()
{
	return spl_object_hash($this);
}

abstract public write( array $messages ) (defined in Kohana_Log_Writer)

Write an array of messages.

$writer->write($messages);

Parameters

  • array $messages required - Messages

Return Values

  • void

Source Code

abstract public function write(array $messages);