Pluf_Log_File Class Reference

List of all members.

Static Public Member Functions

static write ($stack)


Detailed Description

Log to a file.

This is the simplest logger. You can use it as a base to create more complex loggers. The logger interface is really simple and use some helper functions from the main Pluf_Log class.

The only required static method of a log writer is write, which takes the stack to write as parameter.

The only configuration variable of the file writer is the path to the log file 'pluf_log_file'. By default it creates a pluf.log in the configured tmp folder.


Member Function Documentation

static Pluf_Log_File::write ( stack  )  [static]

Flush the stack to the disk.

Parameters:
$stack Array


The documentation for this class was generated from the following file:

Generated on Wed Feb 3 15:44:52 2010 for Pluf by  doxygen