Documenation

Log

/_plugins/log.php

A simple plug-in to write messages to a log file.

Log files are stored in /log/, this folder needs to be writable.

Class

$model->log

Public functions

  • $model->log->write ( string $filename, string $contents )
    Writes a message to a log file in the /log/ directory. If the file doesn't exist it will be created.