Static Public Member Functions | |
| static | write ($stack) |
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.
| static Pluf_Log_File::write | ( | $ | stack | ) | [static] |
Flush the stack to the disk.
| $stack | Array |