Modules

abstract Kohana_Log_Writer

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

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

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

Constants

  • None

Properties

Properties

protected array $_log_levels

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);